From 61da53dea8623a435fd40b95b7df6d5afd210e04 Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Thu, 3 Nov 2022 14:42:29 +0800 Subject: [PATCH] feat: add `--verbose` option --- src/cleardns.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cleardns.c b/src/cleardns.c index 3ad366a..31c85a3 100644 --- a/src/cleardns.c +++ b/src/cleardns.c @@ -41,6 +41,9 @@ void init(int argc, char *argv[]) { // return config file if (!strcmp(argv[i], "--debug")) { settings.debug = TRUE; } + if (!strcmp(argv[i], "--verbose")) { + settings.verbose = TRUE; + } if (!strcmp(argv[i], "--version")) { printf("ClearDNS version %s\n", VERSION); // show version exit(0);