summaryrefslogtreecommitdiff
path: root/metastore.c
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2007-05-19 17:29:18 +0200
committerDavid Härdeman <david@hardeman.nu>2007-05-19 17:29:18 +0200
commita5ed124b6556e1205bdfa8ad4529cef7d1a33e54 (patch)
treeb653e1939f1bd1c6602facbb63f09e97afd2e359 /metastore.c
parenta4e5b979d910384577750a4672fee44e7c468bd0 (diff)
And remove another global variable (verbosity)
Diffstat (limited to 'metastore.c')
-rw-r--r--metastore.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/metastore.c b/metastore.c
index 2db4c31..d831aa7 100644
--- a/metastore.c
+++ b/metastore.c
@@ -249,10 +249,10 @@ main(int argc, char **argv, char **envp)
switch (c) {
case 0:
if (!strcmp("verbose", long_options[option_index].name)) {
- verbosity++;
+ adjust_verbosity(1);
} else if (!strcmp("quiet",
long_options[option_index].name)) {
- verbosity--;
+ adjust_verbosity(-1);
} else if (!strcmp("mtime",
long_options[option_index].name)) {
do_mtime = 1;
@@ -278,10 +278,10 @@ main(int argc, char **argv, char **envp)
i++;
break;
case 'v':
- verbosity++;
+ adjust_verbosity(1);
break;
case 'q':
- verbosity--;
+ adjust_verbosity(-1);
break;
case 'm':
do_mtime = 1;