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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 30 2022, Junio C Hamano wrote:

Sorry, but it is unclear why it is a good thing.

My main motivation behind this change was a standardized user experience across tools. Many users use these shorthands out of habit to get an overview of a program. Seeing the command fail and having to retype it in a longer form creates unnecessary friction between the user and the program.

> Again, it might be safe right now, but it also closes the door for
> introducing global "verbose" option.  What in exchange are we
> gaining?  Are these short options worth it?

I definitely see your concerns. Ultimately it's a question of which of the two flags would be more convinient to have as a shorthand. As stated above, users unfamiliar to the software arguably expect to see the version number printed when using this flag. A user who seeks more verbose output is probably more familiar with the options, so they are more likely to know they have to use the longer "--verbose" form.

Thanks
Garrit



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux