-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a --config option to use an alternate config file
The argparse patch is also removed. The command line is parsed in two steps in order to make it possible to - use the config file given on the command line - display the help message before parsing the config file - set the debug option before parsing the config file - get the default command from the config file if none was given on the command line Currently there is one undesired side effect: If no subcommand is given on the command line no options for the subcommand can be given on the command line as well. Previously this was possible.
- Loading branch information
Showing
2 changed files
with
61 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters