Re: [PATCH] show-branch: don't use LASTARG_DEFAULT with OPTARG
- From
René Scharfe <rene.scharfe@lsrfire.ath.cx>
- Date
- Jun 8, 2009, 17:24 UTC
- Message-ID
- <4A2D494E.3030803@lsrfire.ath.cx>
- In-Reply-To
- <1244417955-21226-1-git-send-email-bebarino@gmail.com>
Stephen Boyd schrieb:
Show 7 quoted lines
> 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!