diff --git a/VERSION b/VERSION index b939558..c932928 100755 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.6.1-develop2 +4.6.1-develop3 diff --git a/qbit_manage.py b/qbit_manage.py index 139aa45..ac43c00 100755 --- a/qbit_manage.py +++ b/qbit_manage.py @@ -51,9 +51,12 @@ parser.add_argument( "-ws", "--web-server", dest="web_server", - action="store_true", + nargs="?", + const=True, + type=lambda x: str(x).lower() not in ("false", "0", "no", "off", "f", "n"), default=None, help="Start the webUI server to handle command requests via HTTP API. " + "Pass --web-server to enable, --web-server=False to disable. " "Default: enabled on desktop (non-Docker) runs; disabled in Docker.", ) parser.add_argument(