From c58087d5914322ab8f693729605a9508d67bb676 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 12 Jan 2016 18:29:26 +0100 Subject: Add command line option to suppress dialogs Implement a -q/--quiet command line option to disable system dialogs temporarily. Signed-off-by: Lukas Fleischer --- src/vars.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vars.c') diff --git a/src/vars.c b/src/vars.c index d674393..f7a8fa9 100644 --- a/src/vars.c +++ b/src/vars.c @@ -61,6 +61,9 @@ enum ui_mode ui_mode = UI_CMDLINE; /* Don't save anything if this is set. */ int read_only = 0; +/* Hide system dialogs if set. */ +int quiet = 0; + /* Applications can trigger a reload by sending SIGUSR1. */ int want_reload = 0; -- cgit v1.2.3-54-g00ecf