Skip to content

Commit

Permalink
git-remote: no longer silent on unknown commands.
Browse files Browse the repository at this point in the history
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Quy Tonthat authored and Junio C Hamano committed Jan 13, 2007
1 parent e66191f commit c03f775
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion git-remote.perl
Original file line number Diff line number Diff line change
Expand Up @@ -274,4 +274,9 @@ sub add_remote {
}
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);
}

0 comments on commit c03f775

Please sign in to comment.