Watch: adds -w/--watch as a seconds-based alias for --dynamic-interval

Closes #2478
This commit is contained in:
Carter Li
2026-07-28 10:52:04 +08:00
parent 738ad59f54
commit 2c736697d2
2 changed files with 16 additions and 0 deletions
+10
View File
@@ -83,6 +83,16 @@
"type": "num",
"default": 0
}
},
{
"long": "watch",
"short": "w",
"desc": "Alias of dynamic-interval, but the value is in seconds instead of milliseconds. If no value is provided, it defaults to 1 second",
"arg": {
"type": "num",
"optional": true,
"default": 1
}
}
],
"Config": [