diff options
author | June McEnroe <june@causal.agency> | 2019-10-23 16:47:15 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-10-23 16:47:15 -0400 |
commit | 9fcd81df89c2736e405f4dbb9bf97fe904818c7f (patch) | |
tree | 6e20d6b1b366a39d48faf328d1b1b3e9c19dc04b /bounce.c | |
parent | Set NOSIGPIPE on server connection (diff) | |
download | pounce-9fcd81df89c2736e405f4dbb9bf97fe904818c7f.tar.gz pounce-9fcd81df89c2736e405f4dbb9bf97fe904818c7f.zip |
Add verbose flag
Diffstat (limited to 'bounce.c')
-rw-r--r-- | bounce.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |