From 352d3d2d0d8b2c7f3b54bd662fc7243f9fb7fa8f Mon Sep 17 00:00:00 2001 From: derrod Date: Wed, 22 Dec 2021 08:28:23 +0100 Subject: [PATCH] [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. --- legendary/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/cli.py b/legendary/cli.py index 4628afd..f761a0b 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -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('-V', '--version', dest='version', action='store_true', help='Print version and exit') parser.add_argument('-c', '--config-file', dest='config_file', action='store', metavar='', - 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', help='Pretty-print JSON') parser.add_argument('-H', '--full-help', dest='full_help', action='store_true',