Skip to content

Commit

Permalink
contrib/examples/git-remote.perl: use a lowercase "usage:" string
Browse files Browse the repository at this point in the history
Make the usage string consistent with Git.

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
David Aguilar authored and Junio C Hamano committed Feb 25, 2013
1 parent b978403 commit f86cad7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contrib/examples/git-remote.perl
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ sub add_usage {
}
}
if ($i >= @ARGV) {
print STDERR "Usage: git remote show <remote>\n";
print STDERR "usage: git remote show <remote>\n";
exit(1);
}
my $status = 0;
Expand Down Expand Up @@ -410,7 +410,7 @@ sub add_usage {
}
}
if ($i >= @ARGV) {
print STDERR "Usage: git remote prune <remote>\n";
print STDERR "usage: git remote prune <remote>\n";
exit(1);
}
my $status = 0;
Expand Down Expand Up @@ -458,13 +458,13 @@ sub add_usage {
}
elsif ($ARGV[0] eq 'rm') {
if (@ARGV <= 1) {
print STDERR "Usage: git remote rm <remote>\n";
print STDERR "usage: git remote rm <remote>\n";
exit(1);
}
exit(rm_remote($ARGV[1]));
}
else {
print STDERR "Usage: git remote\n";
print STDERR "usage: git remote\n";
print STDERR " git remote add <name> <url>\n";
print STDERR " git remote rm <name>\n";
print STDERR " git remote show <name>\n";
Expand Down

0 comments on commit f86cad7

Please sign in to comment.