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");
f='/src/commit/bin/shotty.c?id=18cd2253778a2f528b775f9e03443bf121777f22&follow=1'>Interpret 256color-style SGRsJune McEnroe 2019-07-11Use inline style rather than <b>, <i>, <u>June McEnroe 2019-07-11Factor out clearJune McEnroe 2019-07-11Add bright option to shottyJune McEnroe 2019-07-11Output <b>, <i>, <u> in shottyJune McEnroe 2019-07-10Ignore SM and RMJune McEnroe 2019-07-09Add shotty man page and build itJune McEnroe 2019-07-09Add up -cJune McEnroe 2019-07-09Add options for default colors to shottyJune McEnroe 2019-07-08Use char literals consistentlyJune McEnroe