mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[cli] Hide -c/--config-file option
Using it can cause a bunch of problems, and I don't want to encourage its use, so deprecate/hide it for now, then remove it once I have a better solution.
This commit is contained in:
parent
0e72950382
commit
352d3d2d0d
|
@ -1899,7 +1899,7 @@ def main():
|
||||||
parser.add_argument('-y', '--yes', dest='yes', action='store_true', help='Default to yes for all prompts')
|
parser.add_argument('-y', '--yes', dest='yes', action='store_true', help='Default to yes for all prompts')
|
||||||
parser.add_argument('-V', '--version', dest='version', action='store_true', help='Print version and exit')
|
parser.add_argument('-V', '--version', dest='version', action='store_true', help='Print version and exit')
|
||||||
parser.add_argument('-c', '--config-file', dest='config_file', action='store', metavar='<path/name>',
|
parser.add_argument('-c', '--config-file', dest='config_file', action='store', metavar='<path/name>',
|
||||||
help='Specify custom config file or name for the config file in the default directory.')
|
help=argparse.SUPPRESS)
|
||||||
parser.add_argument('-J', '--pretty-json', dest='pretty_json', action='store_true',
|
parser.add_argument('-J', '--pretty-json', dest='pretty_json', action='store_true',
|
||||||
help='Pretty-print JSON')
|
help='Pretty-print JSON')
|
||||||
parser.add_argument('-H', '--full-help', dest='full_help', action='store_true',
|
parser.add_argument('-H', '--full-help', dest='full_help', action='store_true',
|
||||||
|
|
Loading…
Reference in a new issue