summary refs log tree commit diff
path: root/archive.c
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 /archive.c
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++];
long again after it returns -1June McEnroe 2019-11-08Only change AWAY status for registered clientsJune McEnroe 2019-11-07Just write the example normallyJune McEnroe 2019-11-07Include path in readlinkat errorJune McEnroe 2019-11-07Call clientConsume before clientRecvJune McEnroe 2019-11-06Use -l:filename in Linux.mkJune McEnroe 2019-11-06Fix compat.h for #defined strlcpyJune McEnroe 2019-11-06Allow unsetting LIBRESSL_PREFIXJune McEnroe 2019-11-06Document calico service configurationJune McEnroe 2019-11-06Document SASL EXTERNAL configuration in more detailJune McEnroe 2019-11-06Document pounce service configurationJune McEnroe 2019-11-06Mention Darwin and GNU/Linux in READMEJune McEnroe 2019-11-06Assume LibreSSL from brew on DarwinJune McEnroe 2019-11-06Remove -DNO_EXPLICIT_BZERO from Darwin.mkJune McEnroe 2019-11-06Don't install rc scripts or dirs on LinuxJune McEnroe