Merge pull request #7525 from w-e-w/master
Fix: show correct help message on --help
This commit is contained in:
commit
e0ced6696e
@ -242,7 +242,7 @@ def prepare_environment():
|
||||
|
||||
sys.argv += shlex.split(commandline_args)
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
parser = argparse.ArgumentParser(add_help=False)
|
||||
parser.add_argument("--ui-settings-file", type=str, help="filename to use for ui settings", default='config.json')
|
||||
args, _ = parser.parse_known_args(sys.argv)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user