From 79abc05c20644b08f71b9663bc028b19d3eb1d18 Mon Sep 17 00:00:00 2001 From: Agaricus Date: Tue, 19 Mar 2013 21:20:11 -0700 Subject: [PATCH] Fix install.py --mcp-dir option. Fixes #204. --- fml/install/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fml/install/install.py b/fml/install/install.py index 6de130e0e..869589d5d 100644 --- a/fml/install/install.py +++ b/fml/install/install.py @@ -17,7 +17,7 @@ def fml_main(fml_dir, mcp_dir, dont_gen_conf=True, disable_patches=False, disabl if __name__ == '__main__': parser = OptionParser() - parser.add_option('-m', '--mcp-dir', action='store_true', dest='mcp_dir', help='Path to download/extract MCP to', default=None ) + parser.add_option('-m', '--mcp-dir', action='store', dest='mcp_dir', help='Path to download/extract MCP to', default=None ) parser.add_option('-p', '--no-patch', action="store_true", dest='no_patch', help='Disable application of FML patches', default=False) parser.add_option('-a', '--no-access', action="store_true", dest='no_access', help='Disable access transformers', default=False) parser.add_option('-s', '--server', action="store_true", dest='enable_server', help='Enable decompilation of server', default=False)