Here's another patch. I think this works.
-------------------- $ diff -ru autoheader-orig autoheader --- autoheader-orig 2003-12-02 01:21:50.001000000 -0500 +++ autoheader 2004-12-05 09:28:10.570940800 -0500 @@ -115,12 +115,14 @@
--warnings=* | -W?* )
- warnings=$warnings,$optarg
+ test $warnings && warnings=$warnings,$optarg
+ test -z $warnings && warnings=$optarg
shift ;;
--warnings | -W )
test $# = 1 && eval "$exit_missing_arg"
shift
- warnings=$warnings,$1
+ test $warnings && warnings=$warnings,$1
+ test -z $warnings && warnings=$1
shift ;;
------------------------------
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/