summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-01-02 22:46:55 +0800
committerruki <[email protected]>2020-01-02 10:41:35 +0800
commit69f0f22c8b2439c8d64d5cf5074b1c3605170bf0 (patch)
tree76a88995706c2f3f9e5c7c0883f379cfceb0d4cb
parent293e1b03f4d83e7c07ef41b718e3fbb77b8d48eb (diff)
modify help tips
-rw-r--r--xmake/actions/build/xmake.lua2
-rw-r--r--xmake/actions/clean/xmake.lua2
-rw-r--r--xmake/actions/install/xmake.lua2
-rw-r--r--xmake/actions/package/xmake.lua2
-rw-r--r--xmake/actions/run/xmake.lua4
-rw-r--r--xmake/actions/uninstall/xmake.lua2
6 files changed, 7 insertions, 7 deletions
diff --git a/xmake/actions/build/xmake.lua b/xmake/actions/build/xmake.lua
index 137d2b9c2..aabc852bc 100644
--- a/xmake/actions/build/xmake.lua
+++ b/xmake/actions/build/xmake.lua
@@ -55,7 +55,7 @@ task("build")
" - xmake --files='src/main.c" .. path.envsep() .. "src/test.c'" }
, {}
- , {nil, "target", "v", nil, "Build the given target." }
+ , {nil, "target", "v", nil, "The target name. It will build all default targets if this parameter is not specified." }
}
}
diff --git a/xmake/actions/clean/xmake.lua b/xmake/actions/clean/xmake.lua
index f74b046b4..a275d75e9 100644
--- a/xmake/actions/clean/xmake.lua
+++ b/xmake/actions/clean/xmake.lua
@@ -44,7 +44,7 @@ task("clean")
{'a', "all", "k", nil, "Clean all auto-generated files by xmake." }
, {}
- , {nil, "target", "v", nil, "Clean for the given target." }
+ , {nil, "target", "v", nil, "The target name. It will clean all default targets if this parameter is not specified." }
}
}
diff --git a/xmake/actions/install/xmake.lua b/xmake/actions/install/xmake.lua
index bdf0770d7..38f013114 100644
--- a/xmake/actions/install/xmake.lua
+++ b/xmake/actions/install/xmake.lua
@@ -49,7 +49,7 @@ task("install")
, {'a', "all", "k", nil, "Install all targets." }
, { }
- , {nil, "target", "v", nil, "Install the given target." }
+ , {nil, "target", "v", nil, "The target name. It will install all default targets if this parameter is not specified." }
}
}
diff --git a/xmake/actions/package/xmake.lua b/xmake/actions/package/xmake.lua
index 44ccd25e8..2a9ad1e53 100644
--- a/xmake/actions/package/xmake.lua
+++ b/xmake/actions/package/xmake.lua
@@ -44,7 +44,7 @@ task("package")
{'o', "outputdir", "kv", nil, "Set the output directory." }
, {'a', "all", "k", nil, "Package all targets." }
, {}
- , {nil, "target", "v", nil, "Package a given target." }
+ , {nil, "target", "v", nil, "The target name. It will package all default targets if this parameter is not specified." }
}
}
diff --git a/xmake/actions/run/xmake.lua b/xmake/actions/run/xmake.lua
index baffba24a..eb4666d1b 100644
--- a/xmake/actions/run/xmake.lua
+++ b/xmake/actions/run/xmake.lua
@@ -48,8 +48,8 @@ task("run")
" --workdir=.",
" --workdir=`pwd`" }
, {}
- , {nil, "target", "v", nil, "Run the given target." }
- , {nil, "arguments", "vs", nil, "The target arguments" }
+ , {nil, "target", "v", nil, "The target name. It will run all default targets if this parameter is not specified." }
+ , {nil, "arguments", "vs", nil, "The target arguments" }
}
}
diff --git a/xmake/actions/uninstall/xmake.lua b/xmake/actions/uninstall/xmake.lua
index cb8b20070..c4672fad5 100644
--- a/xmake/actions/uninstall/xmake.lua
+++ b/xmake/actions/uninstall/xmake.lua
@@ -51,7 +51,7 @@ task("uninstall")
" $ xmake uninstall --prefix=local",
"or $ PREFIX=local xmake uninstall" }
, { }
- , {nil, "target", "v", nil, "Uninstall the given target." }
+ , {nil, "target", "v", nil, "The target name. It will uninstall all default targets if this parameter is not specified." }
}
}