From 9fcd81df89c2736e405f4dbb9bf97fe904818c7f Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Wed, 23 Oct 2019 16:47:15 -0400 Subject: Add verbose flag --- bounce.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bounce.c') diff --git a/bounce.c b/bounce.c index e91ed7f..ff99b91 100644 --- a/bounce.c +++ b/bounce.c @@ -78,7 +78,7 @@ int main(int argc, char *argv[]) { const char *join = NULL; int opt; - while (0 < (opt = getopt(argc, argv, "C:H:K:P:W:a:h:j:n:p:r:u:w:"))) { + while (0 < (opt = getopt(argc, argv, "C:H:K:P:W:a:h:j:n:p:r:u:vw:"))) { switch (opt) { break; case 'C': strlcpy(certPath, optarg, sizeof(certPath)); break; case 'H': localHost = optarg; @@ -92,6 +92,7 @@ int main(int argc, char *argv[]) { break; case 'p': port = optarg; break; case 'r': real = optarg; break; case 'u': user = optarg; + break; case 'v': verbose = true; break; case 'w': pass = censor(optarg); break; default: return EX_USAGE; } -- cgit 1.4.1