mass_update: по умолчанию запускает fast без аргументов

This commit is contained in:
Evgeny committed 2026-04-22 18:29:31 +03:00
1 parent 4a9ca67200
commit f44fbb0eb0
1 file changed
+4 -2
+4 -2
View File
@@ -2,7 +2,7 @@
"""
mass_update.py - Mass update uTun servers via SSH
Usage: python3 mass_update.py [fast|full] [-c config] [-j jobs]
Usage: python3 mass_update.py [fast|full] [-c config] [-j jobs] (default: fast)
Config format (JSON):
{
@@ -124,8 +124,10 @@ def main():
)
parser.add_argument(
"command",
nargs='?',
default="fast",
choices=["fast", "full"],
help="Update mode: fast (make) or full (autotools rebuild)"
help="Update mode: fast (make) or full (autotools rebuild) (default: fast)"
)
parser.add_argument(
"-c", "--config",