ModMyFactory2
ModMyFactory2 copied to clipboard
Help inconsistent behavior
When trying to find out how to run verbose I found that you have two help menus, and thought it might be worth you compiling them into one.
Running ~/Downloads/2.2.0.11-alpha_standalone_linux64/ModMyFactoryGUI --help
or ~/Downloads/2.2.0.11-alpha_standalone_linux64/ModMyFactoryGUI help
produces
Copyright (C) 2020 Mathis Rech
run (Default Verb) Starts ModMyFactory GUI
start-game Starts a Factorio instance
help Display more information on a specific command.
version Display version information.
Running ~/Downloads/2.2.0.11-alpha_standalone_linux64/ModMyFactoryGUI -h
produces
ModMyFactoryGUI 2.2.0.11-alpha
Copyright (C) 2020 Mathis Rech
ERROR(S):
Option 'h' is unknown.
USAGE:
Import package files:
ModMyFactory run --import package_1.fmp;package_2.fmpa
-u, --no-update Disables the automatic update check
-i, --import Optional list of package files to import
-v, --verbose Enables verbose logging
-l, --no-log Disables logging to file (console logging still enabled)
-a, --app-data Overrides the application data path
--help Display this help screen.
--version Display version information.
I understand that the -h is not an option, but given that it says --help
displays this help screen and doesn't just seemed inconsistent to me.
I'm using a 3rd party solution for handling the command line so I'm not immediately sure why this happens.
I'll take a look at it eventually but it's not a high priority issue.