about summary refs log tree commit diff
path: root/archive.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-03-03 14:14:34 -0500
committerJune McEnroe <june@causal.agency>2021-03-03 14:14:34 -0500
commite446660084f93766a5b6b55ddbeef9023014a249 (patch)
tree5b44f5ee854c93463076688e27d20778b4d6a612 /archive.c
parentSandbox with unveil(2) and pledge(2) on OpenBSD (diff)
downloadbubger-e446660084f93766a5b6b55ddbeef9023014a249.tar.gz
bubger-e446660084f93766a5b6b55ddbeef9023014a249.zip
Output updated paths
Diffstat (limited to 'archive.c')
-rw-r--r--archive.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/archive.c b/archive.c
index cc6c182..1ef4f33 100644
--- a/archive.c
+++ b/archive.c
@@ -43,6 +43,7 @@
 
 #define ENV_PASSWORD "BUBGER_IMAP_PASSWORD"
 
+bool quiet;
 const char *baseURL = "";
 const char *baseTitle;
 const char *baseMailto;
@@ -108,7 +109,7 @@ int main(int argc, char *argv[]) {
 			break; case 'i': idle = true;
 			break; case 'm': baseMailto = optarg;
 			break; case 'p': port = optarg;
-			break; case 'q': exitStatus = EXIT_FAILURE;
+			break; case 'q': quiet = true; exitStatus = EXIT_FAILURE;
 			break; case 's': baseSubscribe = optarg;
 			break; case 't': baseTitle = optarg;
 			break; case 'u': baseURL = optarg;