Skip to content

Commit

Permalink
Merge pull request AUTOMATIC1111#7525 from w-e-w/master
Browse files Browse the repository at this point in the history
Fix: show correct help message on --help
  • Loading branch information
AUTOMATIC1111 authored Feb 19, 2023
2 parents 0983536 + 47b298d commit e0ced66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit e0ced66

Please sign in to comment.