From: René Scharfe Date: Mon, 08 Jun 2009 17:24:30 GMT Subject: Re: [PATCH] show-branch: don't use LASTARG_DEFAULT with OPTARG Message-ID: <4A2D494E.3030803@lsrfire.ath.cx> In-Reply-To: <1244417955-21226-1-git-send-email-bebarino@gmail.com> Stephen Boyd schrieb: > 5734365 (show-branch: migrate to parse-options API 2009-05-21) > incorrectly set the --more option's flags to be > PARSE_OPT_LASTARG_DEFAULT and PARSE_OPT_OPTARG. These two flags > shouldn't be used together. An option taking a default should just set > the default value desired and parse options will take care of the rest. > > Update the header comment to better convey this information. Thank you!