aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-03-27 07:11:39 +0300
committerAUTOMATIC <16777216c@gmail.com>2023-03-27 07:11:39 +0300
commitff0d97c1e3dafe9b15d37d157859a8b0fa934bff (patch)
tree6a388b376d50bc70ec45a0b7a4dcd01e4ad97581
parente8f34e3b4105b0b22d1f48b6f4e4b072ed3aab12 (diff)
bring back -y
-rw-r--r--modules/cmd_args.py1
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")