diff options
author | June McEnroe <june@causal.agency> | 2021-04-30 20:04:26 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-04-30 20:04:26 -0400 |
commit | 5940b072fd80ced9aa2991f9193ea653aced0d9a (patch) | |
tree | 639d1f25f6a3fcc77f6e6589ac0fd631a170cdc4 /extra | |
parent | notify: Implement pounce-notify (diff) | |
download | pounce-5940b072fd80ced9aa2991f9193ea653aced0d9a.tar.gz pounce-5940b072fd80ced9aa2991f9193ea653aced0d9a.zip |
palaver: Exit on getopt failure
Oops.
Diffstat (limited to 'extra')
-rw-r--r-- | extra/palaver/notify.c | 1 |
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"); |