From a5ed124b6556e1205bdfa8ad4529cef7d1a33e54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20H=C3=A4rdeman?= Date: Sat, 19 May 2007 17:29:18 +0200 Subject: And remove another global variable (verbosity) --- metastore.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'metastore.c') 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; -- cgit v1.2.1