trunk: changeset 22

Mon, 24 Jul 2000 16:38:12 +0200

author
tuomov
date
Mon, 24 Jul 2000 16:38:12 +0200
changeset 19
3e498ec7abcd
parent 18
afabe75987eb
child 20
3f11f764772a

trunk: changeset 22
Fixed a bug with OPT_NO_DASH

optparser.c file | annotate | diff | comparison | revisions
--- 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'){

mercurial