diff --git a/tools/mass_update.py b/tools/mass_update.py index 431b48b5..d7e29f0f 100755 --- a/tools/mass_update.py +++ b/tools/mass_update.py @@ -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",