Code

git-svn: bail out on incorrect command-line options
authorEric Wong <normalperson@yhbt.net>
Tue, 3 Apr 2007 08:57:08 +0000 (01:57 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 9 Apr 2007 02:53:42 +0000 (19:53 -0700)
commit512b620bd9fef7f170562ecad835e37479f051ce
tree794d5ac433ba22d8e42f574bcf14430c86272a71
parent732bcf942c6e99879349711fd29b5062a704e248
git-svn: bail out on incorrect command-line options

"git svn log" is the only command that needs the pass-through
option in Getopt::Long; otherwise we will bail out and let the
user know something is wrong.

Also, avoid printing out unaccepted mixed-case options (that
are reserved for the command-line) such as --useSvmProps
in the usage() function.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-svn.perl