|
|
|
|
@ -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", |
|
|
|
|
|