diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/cmd/config.lua | 4 | ||||
-rw-r--r-- | src/luarocks/cmd/help.lua | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/luarocks/cmd/config.lua b/src/luarocks/cmd/config.lua index b68f7898..e18ab0b8 100644 --- a/src/luarocks/cmd/config.lua +++ b/src/luarocks/cmd/config.lua | |||
@@ -21,6 +21,10 @@ config_cmd.help = [[ | |||
21 | 21 | ||
22 | --rock-trees Rocks trees in use. First the user tree, then the system tree. | 22 | --rock-trees Rocks trees in use. First the user tree, then the system tree. |
23 | ]] | 23 | ]] |
24 | config_cmd.help_see_also = [[ | ||
25 | https://github.com/luarocks/luarocks/wiki/Config-file-format | ||
26 | for detailed information on the LuaRocks config file format. | ||
27 | ]] | ||
24 | 28 | ||
25 | local function config_file(conf) | 29 | local function config_file(conf) |
26 | print(dir.normalize(conf.file)) | 30 | print(dir.normalize(conf.file)) |
diff --git a/src/luarocks/cmd/help.lua b/src/luarocks/cmd/help.lua index d58fdcc0..18620b9e 100644 --- a/src/luarocks/cmd/help.lua +++ b/src/luarocks/cmd/help.lua | |||
@@ -108,6 +108,9 @@ function help.command(flags, command) | |||
108 | print_section("DESCRIPTION") | 108 | print_section("DESCRIPTION") |
109 | util.printout("",(cmd.help:gsub("\n","\n\t"):gsub("\n\t$",""))) | 109 | util.printout("",(cmd.help:gsub("\n","\n\t"):gsub("\n\t$",""))) |
110 | print_section("SEE ALSO") | 110 | print_section("SEE ALSO") |
111 | if cmd.help_see_also then | ||
112 | util.printout(cmd.help_see_also) | ||
113 | end | ||
111 | util.printout("","'"..program.." help' for general options and configuration.\n") | 114 | util.printout("","'"..program.." help' for general options and configuration.\n") |
112 | else | 115 | else |
113 | return nil, "Unknown command: "..command | 116 | return nil, "Unknown command: "..command |