]> Kevux Git Server - rit/commitdiff
git-remote: no longer silent on unknown commands.
authorQuy Tonthat <qtonthat@gmail.com>
Sat, 13 Jan 2007 11:55:21 +0000 (22:55 +1100)
committerJunio C Hamano <junkio@cox.net>
Sat, 13 Jan 2007 18:03:44 +0000 (10:03 -0800)
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-remote.perl

index 059c141..fc055b6 100755 (executable)
@@ -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);
+}