summary refs log tree commit diff
path: root/extra
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-04-30 20:04:26 -0400
committerJune McEnroe <june@causal.agency>2021-04-30 20:04:26 -0400
commit5940b072fd80ced9aa2991f9193ea653aced0d9a (patch)
tree639d1f25f6a3fcc77f6e6589ac0fd631a170cdc4 /extra
parentnotify: Implement pounce-notify (diff)
downloadpounce-5940b072fd80ced9aa2991f9193ea653aced0d9a.tar.gz
pounce-5940b072fd80ced9aa2991f9193ea653aced0d9a.zip
palaver: Exit on getopt failure
Oops.
Diffstat (limited to 'extra')
-rw-r--r--extra/palaver/notify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extra/palaver/notify.c b/extra/palaver/notify.c
index 67d416c..c6a745c 100644
--- a/extra/palaver/notify.c
+++ b/extra/palaver/notify.c
@@ -708,6 +708,7 @@ int main(int argc, char *argv[]) {
 			break; case 'u': user = optarg;
 			break; case 'v': verbose = true;
 			break; case 'w': pass = optarg;
+			break; default:  return EX_USAGE;
 		}
 	}
 	if (optind == argc) errx(EX_USAGE, "host required");