From: Quy Tonthat Date: Sat, 13 Jan 2007 11:55:21 +0000 (+1100) Subject: git-remote: no longer silent on unknown commands. X-Git-Tag: v1.5.0-rc2~109 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c03f77573ac4db7f549948c4c0de4fa3c9eb545c;p=git.git git-remote: no longer silent on unknown commands. Signed-off-by: Quy Tonthat Signed-off-by: Junio C Hamano --- diff --git a/git-remote.perl b/git-remote.perl index 059c141b6..fc055b6d9 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); +}