summaryrefslogtreecommitdiff
path: root/git-remote.perl
diff options
context:
space:
mode:
Diffstat (limited to 'git-remote.perl')
-rwxr-xr-xgit-remote.perl7
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);
+}