From b5180fa54072b7c4aae38c441277007ac35873de Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Tue, 15 Feb 2022 18:32:57 +0900 Subject: [PATCH] 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. --- src/watchbot.sh | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.47.3