Mon, 24 Jul 2000 16:38:12 +0200
trunk: changeset 22 Fixed a bug with OPT_NO_DASH
--- a/optparser.c Fri Jul 21 21:19:37 2000 +0200 +++ b/optparser.c Mon Jul 24 16:38:12 2000 +0200 @@ -146,6 +146,7 @@ dash=FALSE; if(o_mode!=OPTP_NO_DASH) RET(OPT_ID_ARGUMENT); + p2=p; }else if(*(p+1)=='-'){ /* --foo */ if(*(p+2)=='\0'){