diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-04 04:26:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-04 04:26:34 +0000 |
commit | 220e298417072c5ad5a91a151791b44c4ad8285b (patch) | |
tree | 37732193b1671047a8b19e783d25e43b1aefd93a /modules/cmd_args.py | |
parent | 09c1be96748584b08b6299024bb7b64bafb09d09 (diff) | |
parent | bbfff771d7337707bf501b27f98da2f7a7c06f73 (diff) | |
download | stable-diffusion-webui-gfx803-220e298417072c5ad5a91a151791b44c4ad8285b.tar.gz stable-diffusion-webui-gfx803-220e298417072c5ad5a91a151791b44c4ad8285b.tar.bz2 stable-diffusion-webui-gfx803-220e298417072c5ad5a91a151791b44c4ad8285b.zip |
Merge pull request #12294 from AUTOMATIC1111/cmd_arg-disable-extensions
add cmd_arg --disable-extensions all extra
Diffstat (limited to 'modules/cmd_args.py')
-rw-r--r-- | modules/cmd_args.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/cmd_args.py b/modules/cmd_args.py index cb4ec5f7..64f21e01 100644 --- a/modules/cmd_args.py +++ b/modules/cmd_args.py @@ -112,3 +112,5 @@ parser.add_argument('--subpath', type=str, help='customize the subpath for gradi parser.add_argument('--add-stop-route', action='store_true', help='add /_stop route to stop server')
parser.add_argument('--api-server-stop', action='store_true', help='enable server stop/restart/kill via api')
parser.add_argument('--timeout-keep-alive', type=int, default=30, help='set timeout_keep_alive for uvicorn')
+parser.add_argument("--disable-all-extensions", action='store_true', help="prevent all extensions from running regardless of any other settings", default=False)
+parser.add_argument("--disable-extra-extensions", action='store_true', help=" prevent all extensions except built-in from running regardless of any other settings", default=False)
|