add '--config-open' and '--config-status' (#5713)
adapted from 119a25a59cd07781844136ed3d360e7d820b112c
This commit is contained in:
@@ -461,9 +461,19 @@ def build_parser():
|
||||
)
|
||||
configuration.add_argument(
|
||||
"--config-create",
|
||||
dest="config_init", action="store_true",
|
||||
dest="config", action="store_const", const="init",
|
||||
help="Create a basic configuration file",
|
||||
)
|
||||
configuration.add_argument(
|
||||
"--config-status",
|
||||
dest="config", action="store_const", const="status",
|
||||
help="Show configuration file status",
|
||||
)
|
||||
configuration.add_argument(
|
||||
"--config-open",
|
||||
dest="config", action="store_const", const="open",
|
||||
help="Open configuration file in external application",
|
||||
)
|
||||
configuration.add_argument(
|
||||
"--config-ignore",
|
||||
dest="config_load", action="store_false",
|
||||
|
||||
Reference in New Issue
Block a user