diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-03-27 04:11:39 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-03-27 04:11:39 +0000 |
commit | ff0d97c1e3dafe9b15d37d157859a8b0fa934bff (patch) | |
tree | 6a388b376d50bc70ec45a0b7a4dcd01e4ad97581 /modules | |
parent | e8f34e3b4105b0b22d1f48b6f4e4b072ed3aab12 (diff) | |
download | stable-diffusion-webui-gfx803-ff0d97c1e3dafe9b15d37d157859a8b0fa934bff.tar.gz stable-diffusion-webui-gfx803-ff0d97c1e3dafe9b15d37d157859a8b0fa934bff.tar.bz2 stable-diffusion-webui-gfx803-ff0d97c1e3dafe9b15d37d157859a8b0fa934bff.zip |
bring back -y
Diffstat (limited to 'modules')
-rw-r--r-- | modules/cmd_args.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/cmd_args.py b/modules/cmd_args.py index 0af87251..4614e82d 100644 --- a/modules/cmd_args.py +++ b/modules/cmd_args.py @@ -4,6 +4,7 @@ from modules.paths_internal import models_path, script_path, data_path, extensio parser = argparse.ArgumentParser()
+parser.add_argument("-y", action='store_true', help=argparse.SUPPRESS) # allows running as root; implemented outside of webui
parser.add_argument("--update-all-extensions", action='store_true', help="launch.py argument: download updates for all extensions when starting the program")
parser.add_argument("--skip-python-version-check", action='store_true', help="launch.py argument: do not check python version")
parser.add_argument("--skip-torch-cuda-test", action='store_true', help="launch.py argument: do not check if CUDA is able to work properly")
|