summary refs log tree commit diff
path: root/archive.c
diff options
context:
space:
mode:
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;