Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a command line option to set the configuration file. #491

Closed
wants to merge 4 commits into from

Conversation

noirscape
Copy link
Contributor

If merged, this PR closes #490 .

Implements the feature request as I described in #490. Notable changes mentioned below.

Notable changes

  • ConfigPath in Config.java is no longer final.
  • New class called CommandLineParser.
  • CommandLineParser is called before the GUI is started.
  • Inclusion of docopt.java. [license: MIT. docopt.java code was not modified].
  • New launch flag called --config-file. If specified, changes the config file Quark uses. Defaults to quark-config.cfg if not specified, so existing setups should not break.
  • New flag called -h. This is a bundled flag from docopt.java that simply prints the docstring. This is also done if wrong commandline flags are specified.

@XorTroll
Copy link
Owner

This was already implemented a while ago :P

@XorTroll XorTroll closed this Jul 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Quark] Command line flag to specify configuration file
2 participants