From: Quy Tonthat Date: Sat, 13 Jan 2007 11:55:21 GMT Subject: [PATCH] git-remote: no longer silent on unknown commands. Message-ID: <45A8C8A9.2030706@gmail.com> Signed-off-by: Quy Tonthat --- git-remote.perl | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/git-remote.perl b/git-remote.perl index 059c141..fc055b6 100755 --- a/git-remote.perl +++ b/git-remote.perl @@ -274,4 +274,9 @@ elsif ($ARGV[0] eq 'add') { } add_remote($ARGV[1], $ARGV[2]); } - +else { + print STDERR "Usage: git remote\n"; + print STDERR " git remote add \n"; + print STDERR " git remote show \n"; + exit(1); +} -- 1.5.0.rc1