]> git.corax.cc Git - foundry/commitdiff
src/watchbot.sh: Remove unused --name option
authorMatthias Kruk <m@m10k.eu>
Tue, 15 Feb 2022 09:32:57 +0000 (18:32 +0900)
committerMatthias Kruk <m@m10k.eu>
Tue, 15 Feb 2022 09:32:57 +0000 (18:32 +0900)
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

index 917c6758fd600c11b82c134451f51822abb87b4a..ed74f704cb894f9433ffa4d045b114db6c171cc2 100755 (executable)
@@ -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