Re: Git branch outputs usage message on stderr
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 15, 2025, 17:49 UTC
- Message-ID
- <xmqqtta0x90s.fsf@gitster.g>
- In-Reply-To
- <20250115171423.GB57018@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> But there are a ton of commands, as you saw, and handling each one would > be a pain. So it would probably be easier to just introduce a variant of > usage_with_options() that writes to stdout (the underlying _internal > function already does so, we'd just need a one-liner wrapper).
Yup, I was looking at the code involved and came to the same conclusion.