增加默认执行all命令

This commit is contained in:
xaoyaoo 2024-01-04 15:54:27 +08:00
parent d68e2a43a2
commit 5a8540d80e
2 changed files with 2 additions and 2 deletions

View File

@ -22,4 +22,4 @@ except:
VERSION_LIST = {}
VERSION_LIST_PATH = None
__version__ = "2.4.3"
__version__ = "2.4.4"

View File

@ -466,7 +466,7 @@ def console_run():
# 检查是否需要显示帮助信息
if len(sys.argv) == 1:
sys.argv.append(' -all')
sys.argv.append(' all')
elif len(sys.argv) == 2 and sys.argv[1] in modes.keys() and sys.argv[1] not in [main_all.mode, main_wx_info.mode,
main_wx_db_path.mode]:
sys.argv.append('-h')