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

--help without --configfile #23

Open
alephreish opened this issue Jul 1, 2016 · 0 comments
Open

--help without --configfile #23

alephreish opened this issue Jul 1, 2016 · 0 comments
Assignees

Comments

@alephreish
Copy link

There is a minor issue with the --help/-h argument: one would not be able to get the help without having config file in the same location as the executable or providing it as --configfile/-c:

$ orthograph-analyzer -h
Fatal: Config file '/usr/local/bin/orthograph.conf' not found!

$ orthograph-analyzer -h -c some_config_file.conf
Parsing config file 'some_config_file.conf'.
Usage: Orthograph [OPTIONS] INPUTFILE
etc

$ orthograph-analyzer -h -c <(echo)
Parsing config file '/dev/fd/63'.
Usage: Orthograph [OPTIONS] INPUTFILE
etc
@mptrsen mptrsen self-assigned this Jul 8, 2016
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

No branches or pull requests

2 participants