Browse Source

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>
maint
Quy Tonthat 18 years ago committed by Junio C Hamano
parent
commit
c03f77573a
  1. 7
      git-remote.perl

7
git-remote.perl

@ -274,4 +274,9 @@ elsif ($ARGV[0] eq 'add') { @@ -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);
}

Loading…
Cancel
Save