diff options
author | Quy Tonthat <qtonthat@gmail.com> | 2007-01-13 22:55:21 +1100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-13 10:03:44 -0800 |
commit | c03f77573ac4db7f549948c4c0de4fa3c9eb545c (patch) | |
tree | d6852b8a4e938399ec42bd573fa49cbb9a8b326c /git-remote.perl | |
parent | e66191f4837f2d18bb70ceaf3cad4eb52cc4000c (diff) | |
download | git-c03f77573ac4db7f549948c4c0de4fa3c9eb545c.tar.gz |
git-remote: no longer silent on unknown commands.
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-remote.perl')
-rwxr-xr-x | git-remote.perl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/git-remote.perl b/git-remote.perl index 059c141b68..fc055b6d95 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 <name> <url>\n"; + print STDERR " git remote show <name>\n"; + exit(1); +} |