-
Notifications
You must be signed in to change notification settings - Fork 16
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
Read first command-line argument as config file #28
Comments
If that's the intended use, then why not just drop the Line 133 in 44dbf9b
That should make the configuration file a positional rather than flag-type argument. |
We could do this for the current setup, but the goal was to get users used to the behavior incase we ever extended the args. |
I think the best practice is usually to make mandatory arguments positional, while flags are mostly optional arguments. |
Ok, that sounds reasonable. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running Xanthos from the command line requires the first (only) argument to be the configuration file:
This errors because the flag
-config_file
was not specified. We should assume any extra argument is the-config_file
parameter.The text was updated successfully, but these errors were encountered: