]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-remote.perl
git-remote: no longer silent on unknown commands.
[thirdparty/git.git] / git-remote.perl
index 059c141b68e829c7114d09ed9f4541b9db4c3d66..fc055b6d9577b8667e104a9e1528f43cfe29f7e3 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);
+}