diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2013-07-17 18:13:50 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2013-07-17 18:13:50 -0300 |
commit | 0b4543697adf8de2fab1d33d5993746de1ab7708 (patch) | |
tree | 42f45d4577a2ef50aa83e0366683659c32345d4b | |
parent | 77afe9646400ed45977f28b2ecc82c269277abd6 (diff) | |
download | luarocks-0b4543697adf8de2fab1d33d5993746de1ab7708.tar.gz luarocks-0b4543697adf8de2fab1d33d5993746de1ab7708.tar.bz2 luarocks-0b4543697adf8de2fab1d33d5993746de1ab7708.zip |
Add missing documentation.
-rw-r--r-- | src/luarocks/build.lua | 4 | ||||
-rw-r--r-- | src/luarocks/install.lua | 5 | ||||
-rw-r--r-- | src/luarocks/make.lua | 12 |
3 files changed, 17 insertions, 4 deletions
diff --git a/src/luarocks/build.lua b/src/luarocks/build.lua index 71dcda94..dbe450ab 100644 --- a/src/luarocks/build.lua +++ b/src/luarocks/build.lua | |||
@@ -28,7 +28,9 @@ or the name of a rock to be fetched from a repository. | |||
28 | directory. | 28 | directory. |
29 | 29 | ||
30 | --keep Do not remove previously installed versions of the | 30 | --keep Do not remove previously installed versions of the |
31 | rock after building a new one. | 31 | rock after building a new one. This behavior can |
32 | be made permanent by setting keep_other_versions=true | ||
33 | in the configuration file. | ||
32 | ]] | 34 | ]] |
33 | 35 | ||
34 | --- Install files to a given location. | 36 | --- Install files to a given location. |
diff --git a/src/luarocks/install.lua b/src/luarocks/install.lua index 8ada2d50..e1b44203 100644 --- a/src/luarocks/install.lua +++ b/src/luarocks/install.lua | |||
@@ -20,6 +20,11 @@ help_arguments = "{<rock>|<name> [<version>]}" | |||
20 | help = [[ | 20 | help = [[ |
21 | Argument may be the name of a rock to be fetched from a repository | 21 | Argument may be the name of a rock to be fetched from a repository |
22 | or a filename of a locally available rock. | 22 | or a filename of a locally available rock. |
23 | |||
24 | --keep Do not remove previously installed versions of the | ||
25 | rock after installing a new one. This behavior can | ||
26 | be made permanent by setting keep_other_versions=true | ||
27 | in the configuration file. | ||
23 | ]] | 28 | ]] |
24 | 29 | ||
25 | --- Install a binary rock. | 30 | --- Install a binary rock. |
diff --git a/src/luarocks/make.lua b/src/luarocks/make.lua index 474662ac..eef49d0c 100644 --- a/src/luarocks/make.lua +++ b/src/luarocks/make.lua | |||
@@ -27,9 +27,15 @@ This command is useful as a tool for debugging rockspecs. | |||
27 | To install rocks, you'll normally want to use the "install" and | 27 | To install rocks, you'll normally want to use the "install" and |
28 | "build" commands. See the help on those for details. | 28 | "build" commands. See the help on those for details. |
29 | 29 | ||
30 | If --pack-binary-rock is passed, the rock is not installed; | 30 | --pack-binary-rock Do not install rock. Instead, produce a .rock file |
31 | instead, a .rock file with the contents of compilation is produced | 31 | with the contents of compilation in the current |
32 | in the current directory. | 32 | directory. |
33 | |||
34 | --keep Do not remove previously installed versions of the | ||
35 | rock after installing a new one. This behavior can | ||
36 | be made permanent by setting keep_other_versions=true | ||
37 | in the configuration file. | ||
38 | |||
33 | ]] | 39 | ]] |
34 | 40 | ||
35 | --- Driver function for "make" command. | 41 | --- Driver function for "make" command. |