aboutsummaryrefslogtreecommitdiffstats
path: root/modules/cmd_args.py
diff options
context:
space:
mode:
authorspace-nuko <24979496+space-nuko@users.noreply.github.com>2023-03-28 14:59:12 +0000
committerGitHub <noreply@github.com>2023-03-28 14:59:12 +0000
commit4414d36bf6e4f64cb6eac871c89c2e0daa4c5338 (patch)
treef35f4205328d275427781cdef145ae12014a6ad4 /modules/cmd_args.py
parentc5f9f7c23759f9a74fa2b563451569c8926604ba (diff)
parent955df7751eef11bb7697e2d77f6b8a6226b21e13 (diff)
downloadstable-diffusion-webui-gfx803-4414d36bf6e4f64cb6eac871c89c2e0daa4c5338.tar.gz
stable-diffusion-webui-gfx803-4414d36bf6e4f64cb6eac871c89c2e0daa4c5338.tar.bz2
stable-diffusion-webui-gfx803-4414d36bf6e4f64cb6eac871c89c2e0daa4c5338.zip
Merge branch 'master' into img2img-enhance
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")