summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 1339923..233aba5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1020,6 +1020,10 @@ main (gint argc, gchar **argv) {
case MODE_ABOUT:
zenity_about (results->data);
break;
+ case MODE_LAST:
+ g_printerr (_("You must specify a dialog type. See 'zenity --help' for details\n"));
+ zenity_free_parsing_options ();
+ exit (-1);
default:
g_assert_not_reached ();
zenity_free_parsing_options ();