From: Junio C Hamano Date: Mon, 14 Nov 2005 22:14:40 GMT Subject: Re: [PATCH 1/1] git-cvsexportcommit.perl: Fix usage() output. Message-ID: <7vbr0mx4fj.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20051114164505.GF9131@raven.localdomain> Kevin Geiss writes: > sub usage { > print STDERR < -Usage: GIT_DIR=/path/to/.gi ${\basename $0} # fetch/update GIT from CVS > - [-h] [-p] [ parent ] commit > +Usage: GIT_DIR=/path/to/.git ${\basename $0} [-h] [-p] [-v] [-c] [ parent ] commit > END > exit(1); > } I hate to be nitpicky, but this slurps in File::Basename (9Kbytes) only to shorten the displayed command name. I personally do not like programs that shorten $0 (or in C argv[0]) when they identify themselves. This is probably just me, but I was bitten by such programs too many times while debugging them, after wasting too many hours only to find that I was not running the executable I thought I was running but something else that happened to be earlier on my PATH X-<.