aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/help.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/help.lua b/src/luarocks/help.lua
index 0a155509..e6c214ff 100644
--- a/src/luarocks/help.lua
+++ b/src/luarocks/help.lua
@@ -100,7 +100,7 @@ function help.run(...)
100 end 100 end
101 else 101 else
102 command = command:gsub("-", "_") 102 command = command:gsub("-", "_")
103 local cmd = require(commands[command]) 103 local cmd = commands[command] and require(commands[command])
104 if cmd then 104 if cmd then
105 local arguments = cmd.help_arguments or "<argument>" 105 local arguments = cmd.help_arguments or "<argument>"
106 print_banner() 106 print_banner()