about summary refs log tree commit diff
path: root/extra/palaver
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/palaver
parentnotify: Implement pounce-notify (diff)
downloadpounce-5940b072fd80ced9aa2991f9193ea653aced0d9a.tar.gz
pounce-5940b072fd80ced9aa2991f9193ea653aced0d9a.zip
palaver: Exit on getopt failure
Oops.
Diffstat (limited to 'extra/palaver')
-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");
128e163d361657abd0d37b&follow=1'>Rewrite Makefile once more with more organizationJune McEnroe 2019-07-27Reference png.h in bin.7June McEnroe 2019-07-27Revert "Use scheme to style HTMLs"June McEnroe 2019-07-27Remove scheme text linkJune McEnroe 2019-07-26Update Dark.terminalJune McEnroe 2019-07-26Lighten dark whiteJune McEnroe 2019-07-25Add png.3 man pageJune McEnroe 2019-07-25Use scheme to style HTMLsJune McEnroe 2019-07-25Don't match comments in strings in makeJune McEnroe 2019-07-25Generate index.html with links from bin.7June McEnroe 2019-07-24Warn when date has changedJune McEnroe 2019-07-24Add whenJune McEnroe 2019-07-24Remove histedit from bitJune McEnroe