Usage messages produced by parseopt (Re: [PATCH] Add an optional argument for --color options)
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Feb 15, 2010, 01:23 UTC
- Message-ID
- <20100215012316.GA16643@progeny.tock>
- In-Reply-To
- <ca433831002140658r30aa539fy5480cae8298d6d6c@mail.gmail.com>
Mark Lodato wrote:
Show 5 quoted lines
> Would it be worthwhile to switch to > parse_opt? This may make the code cleaner, and it would definitely > make the command-line interface more consistent with the rest of the > suite. From a user's point of view, the biggest win would be "-h" > printing all of the options, like all the non-diff commands do.
Side note: I actually prefer the shorter usage messages, since when I use the "-h" option, I tend to be just looking for a reminder. Am I alone in this? Would there be interest in a "git <whatever> --help=short" option or similar?
Jonathan