about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-03-13 15:10:47 -0500
committerJune McEnroe <june@causal.agency>2021-03-13 15:11:11 -0500
commit142fc3a7b382519db6857424e208ba7cbc9681ef (patch)
tree2557bc221ac8114c8012b7c3f92cb6854bbf1af9
parentRespect DESTDIR (diff)
downloadbubger-142fc3a7b382519db6857424e208ba7cbc9681ef.tar.gz
bubger-142fc3a7b382519db6857424e208ba7cbc9681ef.zip
Exit on getopt failure
Oops, missed this!
Diffstat (limited to '')
-rw-r--r--archive.c1
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++];