mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00:00
contrib/examples/git-remote.perl: use a lowercase "usage:" string
Make the usage string consistent with Git. Signed-off-by: David Aguilar <davvid@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
b978403aed
commit
f86cad7164
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue