aboutsummaryrefslogtreecommitdiffstats
path: root/modules/cmd_args.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-04-29 09:45:43 +0000
committerGitHub <noreply@github.com>2023-04-29 09:45:43 +0000
commite6cbfcfe5b42dd8d40ddaf2ecd448b8b0c070565 (patch)
tree6c31ea8ced8590afd4ba019be838bea41885b6cd /modules/cmd_args.py
parentc9647c8d23efa8c939c6af39878784e246082122 (diff)
parent2c935d8eb0be10edb226e145a72eb373451cb984 (diff)
downloadstable-diffusion-webui-gfx803-e6cbfcfe5b42dd8d40ddaf2ecd448b8b0c070565.tar.gz
stable-diffusion-webui-gfx803-e6cbfcfe5b42dd8d40ddaf2ecd448b8b0c070565.tar.bz2
stable-diffusion-webui-gfx803-e6cbfcfe5b42dd8d40ddaf2ecd448b8b0c070565.zip
Merge branch 'dev' into gradio-theme-support
Diffstat (limited to 'modules/cmd_args.py')
-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..81c0b82a 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("-f", 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")