aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Ouellette <oue.paul18@gmail.com>2019-06-19 18:38:09 -0400
committerPaul Ouellette <oue.paul18@gmail.com>2019-08-01 23:53:03 -0400
commitc6a7d4c4656fbf0d9026741e4749d44a9446040c (patch)
tree232da79ae31f191fe4d64ae25bcab4e10544342c
parent3cf0c501f2ab62a73f25c6b244b8b019d4b1a36a (diff)
downloadluarocks-c6a7d4c4656fbf0d9026741e4749d44a9446040c.tar.gz
luarocks-c6a7d4c4656fbf0d9026741e4749d44a9446040c.tar.bz2
luarocks-c6a7d4c4656fbf0d9026741e4749d44a9446040c.zip
Add help option to subcommands
-rw-r--r--src/luarocks/admin/cmd/add.lua2
-rw-r--r--src/luarocks/admin/cmd/make_manifest.lua2
-rw-r--r--src/luarocks/admin/cmd/refresh_cache.lua2
-rw-r--r--src/luarocks/admin/cmd/remove.lua2
-rw-r--r--src/luarocks/cmd.lua2
-rw-r--r--src/luarocks/cmd/build.lua2
-rw-r--r--src/luarocks/cmd/config.lua2
-rw-r--r--src/luarocks/cmd/doc.lua2
-rw-r--r--src/luarocks/cmd/download.lua2
-rw-r--r--src/luarocks/cmd/init.lua2
-rw-r--r--src/luarocks/cmd/install.lua2
-rw-r--r--src/luarocks/cmd/lint.lua2
-rw-r--r--src/luarocks/cmd/list.lua2
-rw-r--r--src/luarocks/cmd/make.lua2
-rw-r--r--src/luarocks/cmd/new_version.lua2
-rw-r--r--src/luarocks/cmd/pack.lua2
-rw-r--r--src/luarocks/cmd/path.lua2
-rw-r--r--src/luarocks/cmd/purge.lua2
-rw-r--r--src/luarocks/cmd/remove.lua2
-rw-r--r--src/luarocks/cmd/search.lua2
-rw-r--r--src/luarocks/cmd/show.lua2
-rw-r--r--src/luarocks/cmd/test.lua2
-rw-r--r--src/luarocks/cmd/unpack.lua2
-rw-r--r--src/luarocks/cmd/upload.lua2
-rw-r--r--src/luarocks/cmd/which.lua2
-rw-r--r--src/luarocks/cmd/write_rockspec.lua2
26 files changed, 26 insertions, 26 deletions
diff --git a/src/luarocks/admin/cmd/add.lua b/src/luarocks/admin/cmd/add.lua
index fa198baf..0682d89b 100644
--- a/src/luarocks/admin/cmd/add.lua
+++ b/src/luarocks/admin/cmd/add.lua
@@ -14,7 +14,7 @@ local index = require("luarocks.admin.index")
14function add.add_to_parser(parser) 14function add.add_to_parser(parser)
15 local cmd = parser:command("add", "Add a rock or rockspec to a rocks server.", 15 local cmd = parser:command("add", "Add a rock or rockspec to a rocks server.",
16 util.see_also()) 16 util.see_also())
17 :add_help(false) 17 :add_help("--help")
18 18
19 cmd:argument("rock", "A local rockspec or rock file.") 19 cmd:argument("rock", "A local rockspec or rock file.")
20 :args("+") 20 :args("+")
diff --git a/src/luarocks/admin/cmd/make_manifest.lua b/src/luarocks/admin/cmd/make_manifest.lua
index dba7ccf8..c7614ab5 100644
--- a/src/luarocks/admin/cmd/make_manifest.lua
+++ b/src/luarocks/admin/cmd/make_manifest.lua
@@ -14,7 +14,7 @@ local dir = require("luarocks.dir")
14function make_manifest.add_to_parser(parser) 14function make_manifest.add_to_parser(parser)
15 local cmd = parser:command("make_manifest", "Compile a manifest file for a repository.", 15 local cmd = parser:command("make_manifest", "Compile a manifest file for a repository.",
16 util.see_also()) 16 util.see_also())
17 :add_help(false) 17 :add_help("--help")
18 18
19 cmd:argument("repository", "Local repository pathname.") 19 cmd:argument("repository", "Local repository pathname.")
20 :args("?") 20 :args("?")
diff --git a/src/luarocks/admin/cmd/refresh_cache.lua b/src/luarocks/admin/cmd/refresh_cache.lua
index 0b2574b8..ab0708ec 100644
--- a/src/luarocks/admin/cmd/refresh_cache.lua
+++ b/src/luarocks/admin/cmd/refresh_cache.lua
@@ -9,7 +9,7 @@ local cache = require("luarocks.admin.cache")
9function refresh_cache.add_to_parser(parser) 9function refresh_cache.add_to_parser(parser)
10 local cmd = parser:command( 10 local cmd = parser:command(
11 "refresh_cache", "Refresh local cache of a remote rocks server.", util.see_also()) 11 "refresh_cache", "Refresh local cache of a remote rocks server.", util.see_also())
12 :add_help(false) 12 :add_help("--help")
13 13
14 cmd:option("--from", "The server to use. If not given, the default server ".. 14 cmd:option("--from", "The server to use. If not given, the default server "..
15 "set in the upload_server variable from the configuration file is used instead.") 15 "set in the upload_server variable from the configuration file is used instead.")
diff --git a/src/luarocks/admin/cmd/remove.lua b/src/luarocks/admin/cmd/remove.lua
index 4c0125a9..3fe70da6 100644
--- a/src/luarocks/admin/cmd/remove.lua
+++ b/src/luarocks/admin/cmd/remove.lua
@@ -14,7 +14,7 @@ local index = require("luarocks.admin.index")
14function admin_remove.add_to_parser(parser) 14function admin_remove.add_to_parser(parser)
15 local cmd = parser:command( 15 local cmd = parser:command(
16 "remove", "Remove a rock or rockspec from a rocks server.", util.see_also()) 16 "remove", "Remove a rock or rockspec from a rocks server.", util.see_also())
17 :add_help(false) 17 :add_help("--help")
18 18
19 cmd:argument("rock", "A local rockspec or rock file.") 19 cmd:argument("rock", "A local rockspec or rock file.")
20 :args("+") 20 :args("+")
diff --git a/src/luarocks/cmd.lua b/src/luarocks/cmd.lua
index 1c8f0946..ab8d22c6 100644
--- a/src/luarocks/cmd.lua
+++ b/src/luarocks/cmd.lua
@@ -350,7 +350,7 @@ Variables:
350 program.." - "..description, epilog) 350 program.." - "..description, epilog)
351 :help_max_width(80) 351 :help_max_width(80)
352 :add_help("--help") 352 :add_help("--help")
353 :add_help_command({add_help = false}) 353 :add_help_command()
354 :command_target("command") 354 :command_target("command")
355 :require_command(false) 355 :require_command(false)
356 356
diff --git a/src/luarocks/cmd/build.lua b/src/luarocks/cmd/build.lua
index 2b9f4dd6..ea75fa3d 100644
--- a/src/luarocks/cmd/build.lua
+++ b/src/luarocks/cmd/build.lua
@@ -22,7 +22,7 @@ function cmd_build.add_to_parser(parser)
22 local cmd = parser:command("build", "Build and install a rock, compiling ".. 22 local cmd = parser:command("build", "Build and install a rock, compiling "..
23 "its C parts if any.", util.see_also()) 23 "its C parts if any.", util.see_also())
24 :summary("Build/compile a rock.") 24 :summary("Build/compile a rock.")
25 :add_help(false) 25 :add_help("--help")
26 26
27 cmd:argument("rock", "A rockspec file, a source rock file, or the name of ".. 27 cmd:argument("rock", "A rockspec file, a source rock file, or the name of "..
28 "a rock to be fetched from a repository.") 28 "a rock to be fetched from a repository.")
diff --git a/src/luarocks/cmd/config.lua b/src/luarocks/cmd/config.lua
index 6ec0efdf..fa954b3c 100644
--- a/src/luarocks/cmd/config.lua
+++ b/src/luarocks/cmd/config.lua
@@ -51,7 +51,7 @@ Query information about the LuaRocks configuration.
51 for detailed information on the LuaRocks config file format. 51 for detailed information on the LuaRocks config file format.
52]])) 52]]))
53 :summary("Query information about the LuaRocks configuration.") 53 :summary("Query information about the LuaRocks configuration.")
54 :add_help(false) 54 :add_help("--help")
55 55
56 cmd:argument("key", "The configuration key.") 56 cmd:argument("key", "The configuration key.")
57 :args("?") 57 :args("?")
diff --git a/src/luarocks/cmd/doc.lua b/src/luarocks/cmd/doc.lua
index 74508fab..94a1b548 100644
--- a/src/luarocks/cmd/doc.lua
+++ b/src/luarocks/cmd/doc.lua
@@ -19,7 +19,7 @@ function doc.add_to_parser(parser)
19 For more information about a rock, see the 'show' command. 19 For more information about a rock, see the 'show' command.
20]])) 20]]))
21 :summary("Show documentation for an installed rock.") 21 :summary("Show documentation for an installed rock.")
22 :add_help(false) 22 :add_help("--help")
23 23
24 cmd:argument("rock", "Name of the rock.") 24 cmd:argument("rock", "Name of the rock.")
25 cmd:argument("version", "Version of the rock.") 25 cmd:argument("version", "Version of the rock.")
diff --git a/src/luarocks/cmd/download.lua b/src/luarocks/cmd/download.lua
index 80897d5a..2b09e764 100644
--- a/src/luarocks/cmd/download.lua
+++ b/src/luarocks/cmd/download.lua
@@ -9,7 +9,7 @@ local download = require("luarocks.download")
9function cmd_download.add_to_parser(parser) 9function cmd_download.add_to_parser(parser)
10 local cmd = parser:command( 10 local cmd = parser:command(
11 "download", "Download a specific rock file from a rocks server.", util.see_also()) 11 "download", "Download a specific rock file from a rocks server.", util.see_also())
12 :add_help(false) 12 :add_help("--help")
13 13
14 cmd:argument("name", "Name of the rock.") 14 cmd:argument("name", "Name of the rock.")
15 :args("?") 15 :args("?")
diff --git a/src/luarocks/cmd/init.lua b/src/luarocks/cmd/init.lua
index 1053850d..bb10eb79 100644
--- a/src/luarocks/cmd/init.lua
+++ b/src/luarocks/cmd/init.lua
@@ -12,7 +12,7 @@ local write_rockspec = require("luarocks.cmd.write_rockspec")
12 12
13function init.add_to_parser(parser) 13function init.add_to_parser(parser)
14 local cmd = parser:command("init", "Initialize a directory for a Lua project using LuaRocks.", util.see_also()) 14 local cmd = parser:command("init", "Initialize a directory for a Lua project using LuaRocks.", util.see_also())
15 :add_help(false) 15 :add_help("--help")
16 16
17 cmd:argument("name", "The project name.") 17 cmd:argument("name", "The project name.")
18 :args("?") 18 :args("?")
diff --git a/src/luarocks/cmd/install.lua b/src/luarocks/cmd/install.lua
index 3d3f0fe2..343bcfbe 100644
--- a/src/luarocks/cmd/install.lua
+++ b/src/luarocks/cmd/install.lua
@@ -18,7 +18,7 @@ local dir = require("luarocks.dir")
18 18
19function install.add_to_parser(parser) 19function install.add_to_parser(parser)
20 local cmd = parser:command("install", "Install a rock.", util.see_also()) 20 local cmd = parser:command("install", "Install a rock.", util.see_also())
21 :add_help(false) 21 :add_help("--help")
22 22
23 cmd:argument("rock", "The name of a rock to be fetched from a repository ".. 23 cmd:argument("rock", "The name of a rock to be fetched from a repository "..
24 "or a filename of a locally available rock.") 24 "or a filename of a locally available rock.")
diff --git a/src/luarocks/cmd/lint.lua b/src/luarocks/cmd/lint.lua
index 433eed84..2af19392 100644
--- a/src/luarocks/cmd/lint.lua
+++ b/src/luarocks/cmd/lint.lua
@@ -12,7 +12,7 @@ function lint.add_to_parser(parser)
12 "Returns success if the text of the rockspec is syntactically correct, else failure.", 12 "Returns success if the text of the rockspec is syntactically correct, else failure.",
13 util.see_also()) 13 util.see_also())
14 :summary("Check syntax of a rockspec.") 14 :summary("Check syntax of a rockspec.")
15 :add_help(false) 15 :add_help("--help")
16 16
17 cmd:argument("rockspec", "The rockspec to check.") 17 cmd:argument("rockspec", "The rockspec to check.")
18end 18end
diff --git a/src/luarocks/cmd/list.lua b/src/luarocks/cmd/list.lua
index 2bb7660f..01555e89 100644
--- a/src/luarocks/cmd/list.lua
+++ b/src/luarocks/cmd/list.lua
@@ -12,7 +12,7 @@ local path = require("luarocks.path")
12 12
13function list.add_to_parser(parser) 13function list.add_to_parser(parser)
14 local cmd = parser:command("list", "List currently installed rocks.", util.see_also()) 14 local cmd = parser:command("list", "List currently installed rocks.", util.see_also())
15 :add_help(false) 15 :add_help("--help")
16 16
17 cmd:argument("filter", "A substring of a rock name to filter by.") 17 cmd:argument("filter", "A substring of a rock name to filter by.")
18 :args("?") 18 :args("?")
diff --git a/src/luarocks/cmd/make.lua b/src/luarocks/cmd/make.lua
index a8084293..7ac9978a 100644
--- a/src/luarocks/cmd/make.lua
+++ b/src/luarocks/cmd/make.lua
@@ -35,7 +35,7 @@ NB: Use `luarocks install` with the `--only-deps` flag if you want to install
35only dependencies of the rockspec (see `luarocks help install`). 35only dependencies of the rockspec (see `luarocks help install`).
36]], util.see_also()) 36]], util.see_also())
37 :summary("Compile package in current directory using a rockspec.") 37 :summary("Compile package in current directory using a rockspec.")
38 :add_help(false) 38 :add_help("--help")
39 39
40 cmd:argument("rockspec", "Rockspec for the rock to build.") 40 cmd:argument("rockspec", "Rockspec for the rock to build.")
41 :args("?") 41 :args("?")
diff --git a/src/luarocks/cmd/new_version.lua b/src/luarocks/cmd/new_version.lua
index 37d4206e..7c3e9329 100644
--- a/src/luarocks/cmd/new_version.lua
+++ b/src/luarocks/cmd/new_version.lua
@@ -39,7 +39,7 @@ If a directory is not given, it defaults to the current directory.
39WARNING: it writes the new rockspec to the given directory, 39WARNING: it writes the new rockspec to the given directory,
40overwriting the file if it already exists.]], util.see_also()) 40overwriting the file if it already exists.]], util.see_also())
41 :summary("Auto-write a rockspec for a new version of a rock.") 41 :summary("Auto-write a rockspec for a new version of a rock.")
42 :add_help(false) 42 :add_help("--help")
43 43
44 cmd:argument("rock", "Package name or rockspec.") 44 cmd:argument("rock", "Package name or rockspec.")
45 :args("?") 45 :args("?")
diff --git a/src/luarocks/cmd/pack.lua b/src/luarocks/cmd/pack.lua
index e5e7f525..28c39687 100644
--- a/src/luarocks/cmd/pack.lua
+++ b/src/luarocks/cmd/pack.lua
@@ -10,7 +10,7 @@ local queries = require("luarocks.queries")
10 10
11function cmd_pack.add_to_parser(parser) 11function cmd_pack.add_to_parser(parser)
12 local cmd = parser:command("pack", "Create a rock, packing sources or binaries.", util.see_also()) 12 local cmd = parser:command("pack", "Create a rock, packing sources or binaries.", util.see_also())
13 :add_help(false) 13 :add_help("--help")
14 14
15 cmd:argument("rock", "A rockspec file, for creating a source rock, or the ".. 15 cmd:argument("rock", "A rockspec file, for creating a source rock, or the "..
16 "name of an installed package, for creating a binary rock.") 16 "name of an installed package, for creating a binary rock.")
diff --git a/src/luarocks/cmd/path.lua b/src/luarocks/cmd/path.lua
index 8921d2a5..c65aca01 100644
--- a/src/luarocks/cmd/path.lua
+++ b/src/luarocks/cmd/path.lua
@@ -18,7 +18,7 @@ And on Windows:
18 luarocks path > "%temp%\_lrp.bat" && call "%temp%\_lrp.bat" && del "%temp%\_lrp.bat"]], 18 luarocks path > "%temp%\_lrp.bat" && call "%temp%\_lrp.bat" && del "%temp%\_lrp.bat"]],
19 util.see_also()) 19 util.see_also())
20 :summary("Return the currently configured package path.") 20 :summary("Return the currently configured package path.")
21 :add_help(false) 21 :add_help("--help")
22 22
23 cmd:flag("--no-bin", "Do not export the PATH variable.") 23 cmd:flag("--no-bin", "Do not export the PATH variable.")
24 cmd:flag("--append", "Appends the paths to the existing paths. Default is ".. 24 cmd:flag("--append", "Appends the paths to the existing paths. Default is "..
diff --git a/src/luarocks/cmd/purge.lua b/src/luarocks/cmd/purge.lua
index 9b1e2ae9..7bb6b4ec 100644
--- a/src/luarocks/cmd/purge.lua
+++ b/src/luarocks/cmd/purge.lua
@@ -23,7 +23,7 @@ By default, it removes all rocks from a tree.
23The --tree option is mandatory: luarocks purge does not assume a default tree.]], 23The --tree option is mandatory: luarocks purge does not assume a default tree.]],
24 util.see_also()) 24 util.see_also())
25 :summary("Remove all installed rocks from a tree.") 25 :summary("Remove all installed rocks from a tree.")
26 :add_help(false) 26 :add_help("--help")
27 27
28 cmd:flag("--old-versions", "Keep the highest-numbered version of each ".. 28 cmd:flag("--old-versions", "Keep the highest-numbered version of each "..
29 "rock and remove the other ones. By default it only removes old ".. 29 "rock and remove the other ones. By default it only removes old "..
diff --git a/src/luarocks/cmd/remove.lua b/src/luarocks/cmd/remove.lua
index e311f399..b78d61bd 100644
--- a/src/luarocks/cmd/remove.lua
+++ b/src/luarocks/cmd/remove.lua
@@ -23,7 +23,7 @@ Will only perform the removal if it does not break dependencies.
23To override this check and force the removal, use --force or --force-fast.]], 23To override this check and force the removal, use --force or --force-fast.]],
24 util.see_also()) 24 util.see_also())
25 :summary("Uninstall a rock.") 25 :summary("Uninstall a rock.")
26 :add_help(false) 26 :add_help("--help")
27 27
28 cmd:argument("rock", "Name of the rock to be uninstalled.") 28 cmd:argument("rock", "Name of the rock to be uninstalled.")
29 cmd:argument("version", "Version of the rock to uninstall.") 29 cmd:argument("version", "Version of the rock to uninstall.")
diff --git a/src/luarocks/cmd/search.lua b/src/luarocks/cmd/search.lua
index d1546e80..8c735b22 100644
--- a/src/luarocks/cmd/search.lua
+++ b/src/luarocks/cmd/search.lua
@@ -11,7 +11,7 @@ local results = require("luarocks.results")
11 11
12function cmd_search.add_to_parser(parser) 12function cmd_search.add_to_parser(parser)
13 local cmd = parser:command("search", "Query the LuaRocks servers.", util.see_also()) 13 local cmd = parser:command("search", "Query the LuaRocks servers.", util.see_also())
14 :add_help(false) 14 :add_help("--help")
15 15
16 cmd:argument("name", "Name of the rock to search for.") 16 cmd:argument("name", "Name of the rock to search for.")
17 :args("?") 17 :args("?")
diff --git a/src/luarocks/cmd/show.lua b/src/luarocks/cmd/show.lua
index 9bfedd20..3a7d86e0 100644
--- a/src/luarocks/cmd/show.lua
+++ b/src/luarocks/cmd/show.lua
@@ -20,7 +20,7 @@ Show information about an installed rock.
20Without any flags, show all module information. 20Without any flags, show all module information.
21With flags, return only the desired information.]], util.see_also()) 21With flags, return only the desired information.]], util.see_also())
22 :summary("Show information about an installed rock.") 22 :summary("Show information about an installed rock.")
23 :add_help(false) 23 :add_help("--help")
24 24
25 cmd:argument("rock", "Name of an installed rock.") 25 cmd:argument("rock", "Name of an installed rock.")
26 cmd:argument("version", "Rock version.") 26 cmd:argument("version", "Rock version.")
diff --git a/src/luarocks/cmd/test.lua b/src/luarocks/cmd/test.lua
index baf7515e..cef17f53 100644
--- a/src/luarocks/cmd/test.lua
+++ b/src/luarocks/cmd/test.lua
@@ -18,7 +18,7 @@ To make sure that test suite flags are not interpreted as LuaRocks flags, use --
18to separate LuaRocks arguments from test suite arguments.]], 18to separate LuaRocks arguments from test suite arguments.]],
19 util.see_also()) 19 util.see_also())
20 :summary("Run the test suite in the current directory.") 20 :summary("Run the test suite in the current directory.")
21 :add_help(false) 21 :add_help("--help")
22 22
23 cmd:argument("rockspec", "Project rockspec.") 23 cmd:argument("rockspec", "Project rockspec.")
24 :args("?") 24 :args("?")
diff --git a/src/luarocks/cmd/unpack.lua b/src/luarocks/cmd/unpack.lua
index 65ce5c7c..b84b4166 100644
--- a/src/luarocks/cmd/unpack.lua
+++ b/src/luarocks/cmd/unpack.lua
@@ -17,7 +17,7 @@ Argument may be a rock file, or the name of a rock in a rocks server.
17In the latter case, the rock version may be given as a second argument.]], 17In the latter case, the rock version may be given as a second argument.]],
18 util.see_also()) 18 util.see_also())
19 :summary("Unpack the contents of a rock.") 19 :summary("Unpack the contents of a rock.")
20 :add_help(false) 20 :add_help("--help")
21 21
22 cmd:argument("rock", "A rock file or the name of a rock.") 22 cmd:argument("rock", "A rock file or the name of a rock.")
23 cmd:argument("version", "Rock version.") 23 cmd:argument("version", "Rock version.")
diff --git a/src/luarocks/cmd/upload.lua b/src/luarocks/cmd/upload.lua
index 64bf18ad..44e2a830 100644
--- a/src/luarocks/cmd/upload.lua
+++ b/src/luarocks/cmd/upload.lua
@@ -12,7 +12,7 @@ function upload.add_to_parser(parser)
12 local cmd = parser:command("upload", "Pack a source rock file (.src.rock extension) ".. 12 local cmd = parser:command("upload", "Pack a source rock file (.src.rock extension) "..
13 "and upload it and the rockspec to the public rocks repository.", util.see_also()) 13 "and upload it and the rockspec to the public rocks repository.", util.see_also())
14 :summary("Upload a rockspec to the public rocks repository.") 14 :summary("Upload a rockspec to the public rocks repository.")
15 :add_help(false) 15 :add_help("--help")
16 16
17 cmd:argument("rockspec", "Rockspec for the rock to upload.") 17 cmd:argument("rockspec", "Rockspec for the rock to upload.")
18 18
diff --git a/src/luarocks/cmd/which.lua b/src/luarocks/cmd/which.lua
index 571d2638..7fdc5228 100644
--- a/src/luarocks/cmd/which.lua
+++ b/src/luarocks/cmd/which.lua
@@ -14,7 +14,7 @@ function which_cmd.add_to_parser(parser)
14 'luarocks.loader, like "/usr/local/lua/'..cfg.lua_version..'/foo/bar.lua".', 14 'luarocks.loader, like "/usr/local/lua/'..cfg.lua_version..'/foo/bar.lua".',
15 util.see_also()) 15 util.see_also())
16 :summary("Tell which file corresponds to a given module name.") 16 :summary("Tell which file corresponds to a given module name.")
17 :add_help(false) 17 :add_help("--help")
18 18
19 cmd:argument("modname", "Module name.") 19 cmd:argument("modname", "Module name.")
20end 20end
diff --git a/src/luarocks/cmd/write_rockspec.lua b/src/luarocks/cmd/write_rockspec.lua
index 4b16c0b7..846aebd4 100644
--- a/src/luarocks/cmd/write_rockspec.lua
+++ b/src/luarocks/cmd/write_rockspec.lua
@@ -39,7 +39,7 @@ using 'dev' as a fallback default version.
39Note that the generated file is a _starting point_ for writing a 39Note that the generated file is a _starting point_ for writing a
40rockspec, and is not guaranteed to be complete or correct. ]], util.see_also()) 40rockspec, and is not guaranteed to be complete or correct. ]], util.see_also())
41 :summary("Write a template for a rockspec file.") 41 :summary("Write a template for a rockspec file.")
42 :add_help(false) 42 :add_help("--help")
43 43
44 cmd:argument("name", "Name of the rock.") 44 cmd:argument("name", "Name of the rock.")
45 :args("?") 45 :args("?")