Re: [PATCH v2 1/2] rev-parse: fix segfault with missing --path-format argument
- From
Wolfgang Müller <wolf@oriole.systems>
- Date
- May 19, 2021, 10:19 UTC
- Message-ID
- <20210519101933.stqe4bnilu22rmgl@nabokov.fritz.box>
- In-Reply-To
- <20210519095235.cydjlj2qoko6xm4v@nabokov.fritz.box>
On 2021-05-19 11:52, Wolfgang Müller wrote:
> Short of fully migrating to the parse-options API, I do not see a > perfect solution for this, especially since there are options that take > optional arguments which are not delimited by equals. These seem to be > sprinkled throughout and all error out if no argument is given.
Upon rereading this I noticed an error, I meant to say "especially since there are options that *require* arguments which are not delimited by equals.", like --default, --prefix, and --git-path for example.
-- Wolfgang