mass_update: по умолчанию запускает fast без аргументов
This commit is contained in:
1 parent
4a9ca67200
commit
f44fbb0eb0
1 file changed
+4
-2
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user