diff options
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); +} |