diff options
Diffstat (limited to 'src/luarocks/command_line.lua')
| -rw-r--r-- | src/luarocks/command_line.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/luarocks/command_line.lua b/src/luarocks/command_line.lua index 63b918b5..059b7a1c 100644 --- a/src/luarocks/command_line.lua +++ b/src/luarocks/command_line.lua | |||
| @@ -61,6 +61,12 @@ function run_command(...) | |||
| 61 | 61 | ||
| 62 | local command | 62 | local command |
| 63 | 63 | ||
| 64 | if flags["verbose"] then -- setting it in the config file will kick-in earlier in the process | ||
| 65 | cfg.verbose = true | ||
| 66 | local fs = require("luarocks.fs") | ||
| 67 | fs.verbose() | ||
| 68 | end | ||
| 69 | |||
| 64 | if flags["version"] then | 70 | if flags["version"] then |
| 65 | util.printout(program.." "..cfg.program_version) | 71 | util.printout(program.." "..cfg.program_version) |
| 66 | util.printout(program_description) | 72 | util.printout(program_description) |
