summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cxx b/main.cxx
index 7a086a66..ea140f0f 100644
--- a/main.cxx
+++ b/main.cxx
@@ -549,6 +549,7 @@ main (int argc, char * const argv [])
break;
case 'l':
+ s.suppress_warnings = true;
s.listing_mode = true;
s.last_pass = 2;
if (have_script)
@@ -559,6 +560,7 @@ main (int argc, char * const argv [])
}
cmdline_script = string("probe ") + string(optarg) + " {}";
have_script = true;
+ break;
case 0:
switch (long_opt)