Merge pull request #7525 from w-e-w/master

Fix: show correct help message on --help
This commit is contained in:
AUTOMATIC1111 2023-02-19 12:29:09 +03:00 committed by GitHub
commit e0ced6696e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)