Skip to content

Commit f86cad7

Browse files
davvidgitster
authored andcommitted
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>
1 parent b978403 commit f86cad7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

contrib/examples/git-remote.perl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ sub add_usage {
380380
}
381381
}
382382
if ($i >= @ARGV) {
383-
print STDERR "Usage: git remote show <remote>\n";
383+
print STDERR "usage: git remote show <remote>\n";
384384
exit(1);
385385
}
386386
my $status = 0;
@@ -410,7 +410,7 @@ sub add_usage {
410410
}
411411
}
412412
if ($i >= @ARGV) {
413-
print STDERR "Usage: git remote prune <remote>\n";
413+
print STDERR "usage: git remote prune <remote>\n";
414414
exit(1);
415415
}
416416
my $status = 0;
@@ -458,13 +458,13 @@ sub add_usage {
458458
}
459459
elsif ($ARGV[0] eq 'rm') {
460460
if (@ARGV <= 1) {
461-
print STDERR "Usage: git remote rm <remote>\n";
461+
print STDERR "usage: git remote rm <remote>\n";
462462
exit(1);
463463
}
464464
exit(rm_remote($ARGV[1]));
465465
}
466466
else {
467-
print STDERR "Usage: git remote\n";
467+
print STDERR "usage: git remote\n";
468468
print STDERR " git remote add <name> <url>\n";
469469
print STDERR " git remote rm <name>\n";
470470
print STDERR " git remote show <name>\n";

0 commit comments

Comments
 (0)