author | Eric Wong <normalperson@yhbt.net> | |
Tue, 3 Apr 2007 08:57:08 +0000 (01:57 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 4 Apr 2007 09:37:35 +0000 (02:37 -0700) | ||
commit | e421fc0797d0a6c8a40bce96c4383223c8ae2da7 | |
tree | 0304020f62eabb7bf5f9db32d07d7c62e37af2d1 | tree | snapshot |
parent | 3be8e720d95f8d040dbfdd8a579616a9423280df | commit | diff |
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 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 | diff | blob | history |