diff options
author | June McEnroe <june@causal.agency> | 2021-03-13 15:10:47 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-03-13 15:11:11 -0500 |
commit | 142fc3a7b382519db6857424e208ba7cbc9681ef (patch) | |
tree | 2557bc221ac8114c8012b7c3f92cb6854bbf1af9 | |
parent | Respect DESTDIR (diff) | |
download | bubger-142fc3a7b382519db6857424e208ba7cbc9681ef.tar.gz bubger-142fc3a7b382519db6857424e208ba7cbc9681ef.zip |
Exit on getopt failure
Oops, missed this!
Diffstat (limited to '')
-rw-r--r-- | archive.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archive.c b/archive.c index 91c6118..f55146f 100644 --- a/archive.c +++ b/archive.c @@ -118,6 +118,7 @@ int main(int argc, char *argv[]) { break; case 'v': imapVerbose = true; break; case 'w': passPath = optarg; break; case 'y': baseStylesheet = optarg; + break; default: return EX_USAGE; } } if (optind < argc) user = argv[optind++]; |