mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-30 12:22:26 -08:00
fix --help
show correct help message
This commit is contained in:
parent
3e0f9a7543
commit
dd20fc0fda
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue