]> sourceware.org Git - systemtap.git/commit
Don't double print error message on bad stap command line option.
authorMark Wielaard <mjw@redhat.com>
Fri, 11 Jun 2010 12:20:08 +0000 (14:20 +0200)
committerMark Wielaard <mjw@redhat.com>
Fri, 11 Jun 2010 12:20:08 +0000 (14:20 +0200)
commit36222574678f4499bbbce731de2a0ff3a53fb750
treec7803fc147593792a625f04f0707f66255cba3b2
parentb275171e26c0cf9441858209ac62e70b8ddda71d
Don't double print error message on bad stap command line option.

Bug introduced in commit db1354. getopt_long will already have printed
an appropriate error message in case of an invalid/unrecognized option
or an option missing an required argument. So don't print another error
message in that case.

* session.cxx (parse_cmdline): Silently handle '?' case.
session.cxx
This page took 0.027811 seconds and 5 git commands to generate.