diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/cmd/build.lua | 2 | ||||
| -rw-r--r-- | src/luarocks/cmd/install.lua | 2 | ||||
| -rw-r--r-- | src/luarocks/cmd/make.lua | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/luarocks/cmd/build.lua b/src/luarocks/cmd/build.lua index 8e9956cb..bc2b9bb6 100644 --- a/src/luarocks/cmd/build.lua +++ b/src/luarocks/cmd/build.lua | |||
| @@ -31,7 +31,7 @@ function cmd_build.add_to_parser(parser) | |||
| 31 | cmd:argument("version", "Rock version.") | 31 | cmd:argument("version", "Rock version.") |
| 32 | :args("?") | 32 | :args("?") |
| 33 | 33 | ||
| 34 | cmd:flag("--only-deps", "Install only the dependencies of the rock.") | 34 | cmd:flag("--only-deps --deps-only", "Install only the dependencies of the rock.") |
| 35 | cmd:option("--branch", "Override the `source.branch` field in the loaded ".. | 35 | cmd:option("--branch", "Override the `source.branch` field in the loaded ".. |
| 36 | "rockspec. Allows to specify a different branch to fetch. Particularly ".. | 36 | "rockspec. Allows to specify a different branch to fetch. Particularly ".. |
| 37 | 'for "dev" rocks.') | 37 | 'for "dev" rocks.') |
diff --git a/src/luarocks/cmd/install.lua b/src/luarocks/cmd/install.lua index 55074366..1fa15453 100644 --- a/src/luarocks/cmd/install.lua +++ b/src/luarocks/cmd/install.lua | |||
| @@ -32,7 +32,7 @@ function install.add_to_parser(parser) | |||
| 32 | "previously installed versions if it would break dependencies.") | 32 | "previously installed versions if it would break dependencies.") |
| 33 | cmd:flag("--force-fast", "Like --force, but performs a forced removal ".. | 33 | cmd:flag("--force-fast", "Like --force, but performs a forced removal ".. |
| 34 | "without reporting dependency issues.") | 34 | "without reporting dependency issues.") |
| 35 | cmd:flag("--only-deps", "Install only the dependencies of the rock.") | 35 | cmd:flag("--only-deps --deps-only", "Install only the dependencies of the rock.") |
| 36 | cmd:flag("--no-doc", "Install the rock without its documentation.") | 36 | cmd:flag("--no-doc", "Install the rock without its documentation.") |
| 37 | cmd:flag("--verify", "Verify signature of the rockspec or src.rock being ".. | 37 | cmd:flag("--verify", "Verify signature of the rockspec or src.rock being ".. |
| 38 | "built. If the rockspec or src.rock is being downloaded, LuaRocks will ".. | 38 | "built. If the rockspec or src.rock is being downloaded, LuaRocks will ".. |
diff --git a/src/luarocks/cmd/make.lua b/src/luarocks/cmd/make.lua index ad6a211d..2db6c403 100644 --- a/src/luarocks/cmd/make.lua +++ b/src/luarocks/cmd/make.lua | |||
| @@ -41,6 +41,7 @@ function make.cmd_options(parser) | |||
| 41 | parser:flag("--pin", "Pin the exact dependencies used for the rockspec".. | 41 | parser:flag("--pin", "Pin the exact dependencies used for the rockspec".. |
| 42 | "being built into a luarocks.lock file in the current directory.") | 42 | "being built into a luarocks.lock file in the current directory.") |
| 43 | parser:flag("--no-manifest", "Skip creating/updating the manifest") | 43 | parser:flag("--no-manifest", "Skip creating/updating the manifest") |
| 44 | parser:flag("--only-deps --deps-only", "Install only the dependencies of the rock.") | ||
| 44 | util.deps_mode_option(parser) | 45 | util.deps_mode_option(parser) |
| 45 | end | 46 | end |
| 46 | 47 | ||
