aboutsummaryrefslogtreecommitdiff
path: root/src/luarocks/command_line.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/luarocks/command_line.lua')
-rw-r--r--src/luarocks/command_line.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/luarocks/command_line.lua b/src/luarocks/command_line.lua
index 5ba5ae1b..b542fb9c 100644
--- a/src/luarocks/command_line.lua
+++ b/src/luarocks/command_line.lua
@@ -93,6 +93,8 @@ function command_line.run_command(...)
93 die(flags.ERROR.." See --help.") 93 die(flags.ERROR.." See --help.")
94 end 94 end
95 95
96 fs.init()
97
96 if flags["from"] then flags["server"] = flags["from"] end 98 if flags["from"] then flags["server"] = flags["from"] end
97 if flags["only-from"] then flags["only-server"] = flags["only-from"] end 99 if flags["only-from"] then flags["only-server"] = flags["only-from"] end
98 if flags["only-sources-from"] then flags["only-sources"] = flags["only-sources-from"] end 100 if flags["only-sources-from"] then flags["only-sources"] = flags["only-sources-from"] end