summaryrefslogtreecommitdiff
path: root/src/conf.h
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2012-03-23 18:38:24 +0100
committerDavid Herrmann <dh.herrmann@googlemail.com>2012-03-23 18:38:24 +0100
commite35ca87a957857f94a8ad5a544361f9773d0c20a (patch)
tree36326308c25a009ee5031f2bb3be9d4a5c91d8f6 /src/conf.h
parent929860217fc351b1ed0a23753b93a9d3b7046641 (diff)
conf: add --silent
Suppress debug, info, notice and warning messages if --silent is given. This is overwritten by --debug and --verbose. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'src/conf.h')
-rw-r--r--src/conf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf.h b/src/conf.h
index 8d221b5..e92c329 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -49,6 +49,8 @@ struct conf_obj {
int debug;
/* enable verbose info messages */
int verbose;
+ /* disable notices and warnings */
+ int silent;
/* enter new VT directly */
int switchvt;
};