aboutsummaryrefslogtreecommitdiffstats
path: root/modules/cmd_args.py
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-09-09 06:53:10 +0000
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-09-09 06:53:10 +0000
commit46ef1857098df7610c36e73903731e486feca927 (patch)
tree9ec63e0028e191a8fcce2793f2a2070ac951fb1a /modules/cmd_args.py
parent340fce2113b6d68f06f5bb8c897be998f03b4c8c (diff)
downloadstable-diffusion-webui-gfx803-46ef1857098df7610c36e73903731e486feca927.tar.gz
stable-diffusion-webui-gfx803-46ef1857098df7610c36e73903731e486feca927.tar.bz2
stable-diffusion-webui-gfx803-46ef1857098df7610c36e73903731e486feca927.zip
deprecate --enable-console-prompts
use --enable-console-prompts as the default value for shared.opts.enable_console_prompts
Diffstat (limited to 'modules/cmd_args.py')
-rw-r--r--modules/cmd_args.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cmd_args.py b/modules/cmd_args.py
index aab62286..fe4d4ecc 100644
--- a/modules/cmd_args.py
+++ b/modules/cmd_args.py
@@ -90,7 +90,7 @@ parser.add_argument("--autolaunch", action='store_true', help="open the webui UR
parser.add_argument("--theme", type=str, help="launches the UI with light or dark theme", default=None)
parser.add_argument("--use-textbox-seed", action='store_true', help="use textbox for seeds in UI (no up/down, but possible to input long seeds)", default=False)
parser.add_argument("--disable-console-progressbars", action='store_true', help="do not output progressbars to console", default=False)
-parser.add_argument("--enable-console-prompts", action='store_true', help="print prompts to console when generating with txt2img and img2img", default=False)
+parser.add_argument("--enable-console-prompts", action='store_true', help="does not do anything", default=False) # Legacy compatibility, use as default value shared.opts.enable_console_prompts
parser.add_argument('--vae-path', type=str, help='Checkpoint to use as VAE; setting this argument disables all settings related to VAE', default=None)
parser.add_argument("--disable-safe-unpickle", action='store_true', help="disable checking pytorch models for malicious code", default=False)
parser.add_argument("--api", action='store_true', help="use api=True to launch the API together with the webui (use --nowebui instead for only the API)")