Re: [PATCH] Bugfix: stop if directory already exists
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 14, 2005, 08:57 UTC
- Message-ID
- <7vpsp3zjwm.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <200511131503.32078.Josef.Weidendorfer@gmx.de>
Josef Weidendorfer <Josef.Weidendorfer@gmx.de> writes:
> Fix a typo: We do not want to run the directory as command, > and want to terminate if the directory exists > Additionally, update the usage message
Thanks.
> Should we use "git clone" or "git-clone" in the usage message?
I think "git clone" is probably preferred, given that we would eventually want to be able to install them outside /usr/bin/, leaving "git" wrapper (and very small number of other programs) in /usr/bin/.
> usage: git clone ... > For more details, see 'man git-clone'
My understanding of UNIX tradition of "usage:" is to be short and sweet, to primarily help people who already know the command but sometimes cannot remember how exactly the options are spelled (e.g. "was that -F to specify the inter-field separator to "sort" command? Ah, no, it wants -t -- silly me must be doing too much awk these days"). And "for more details see man" goes without saying.