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>
This commit is contained in:
Quy Tonthat 2007-01-13 22:55:21 +11:00 committed by Junio C Hamano
parent e66191f483
commit c03f77573a

View file

@ -274,4 +274,9 @@ sub add_remote {
}
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);
}