From: Matthias Kruk Date: Tue, 15 Feb 2022 09:32:57 +0000 (+0900) Subject: src/watchbot.sh: Remove unused --name option X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=b5180fa54072b7c4aae38c441277007ac35873de;p=foundry src/watchbot.sh: Remove unused --name option Watchbot requires the --name option to be passed on the command line, despite the option being unused. This commit removes the unused --name option. --- diff --git a/src/watchbot.sh b/src/watchbot.sh index 917c675..ed74f70 100755 --- a/src/watchbot.sh +++ b/src/watchbot.sh @@ -272,8 +272,6 @@ main() { "Topic to publish notifications" opt_add_arg "i" "interval" "v" 30 \ "Update check interval" "^[0-9]+$" - opt_add_arg "n" "name" "rv" "" \ - "The name of this instance" if ! opt_parse "$@"; then return 1