]> git.saurik.com Git - wxWidgets.git/commitdiff
complain about unrecognized flags
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 17 Jul 2004 21:54:31 +0000 (21:54 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 17 Jul 2004 21:54:31 +0000 (21:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wx-config.in

index 72c1e4b3dd5bb1f4424468d444bc317680340455..3977e1037a12829e78c77a8a4e859f90cc49b379 100755 (executable)
@@ -438,6 +438,10 @@ while test $# -gt 0; do
     --help|-h)
       usage 1 1>&2
       ;;
+    -*)
+      # unrecognized flag is error
+      usage 1 1>&2
+      ;;
   esac
   shift
 done