git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] cli: add -v and -h shorthands

From
Garrit Franke <garrit@slashdev.space>
Date
Apr 4, 2022, 07:18 UTC
Message-ID
<f39ae520-a370-a1c5-7dcc-1b7bba4306bf@slashdev.space>
In-Reply-To
<xmqqtubcyeow.fsf@gitster.g>
On 01.04.22 18:02, Junio C Hamano wrote:
Show 5 quoted lines
> I do not think one extra level of "unknown option", even with hint,
> is worth the trouble.  If we want to cater to those who expect "-h"
> to be more special than random "-<some single letter>", we should go
> all the way and make "-h" truly supported.  If we do not, they can
> read "git help git" just like those who wonder what "git -X" means.
 From what I gathered, we all agree that adding the "-h" shorthand is a 
good addition to the UI. Given that the "-v" option is understandably 
controversial, I could cut it from this patch.
Thoughts?
Previous: Junio C HamanoNext: Junio C Hamano
Message 9 of 11 in “cli: add -v and -h shorthands”
  1. cli: add -v and -h shorthandsGarrit Franke, Mar 30, 2022
  2. Junio C HamanoMar 30, 2022
  3. Garrit FrankeMar 30, 2022
  4. Ævar Arnfjörð BjarmasonMar 31, 2022
  5. Garrit FrankeMar 31, 2022
  6. Junio C HamanoMar 31, 2022
  7. Ævar Arnfjörð BjarmasonApr 1, 2022
  8. Junio C HamanoApr 1, 2022
  9. Garrit FrankeApr 4, 2022
  10. Junio C HamanoApr 4, 2022
  11. cli: add -v and -h shorthandsGarrit Franke, Mar 31, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.