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>
David Aguilar committed
Feb 24, 2013 at 14:48 UTC
f86cad716424019308d9b992468dbed1762dd8a4
1 file changed
+4
-4
contrib/examples/git-remote.perl
+4
-4
@@ -380,7 +380,7 @@ elsif ($ARGV[0] eq 'show') {
380
}
381
}
382
if ($i >= @ARGV) {
383
- print STDERR "Usage: git remote show <remote>\n";
383
+ print STDERR "usage: git remote show <remote>\n";
384
exit(1);
385
}
386
my $status = 0;
@@ -410,7 +410,7 @@ elsif ($ARGV[0] eq 'prune') {
410
}
411
}
412
if ($i >= @ARGV) {
413
- print STDERR "Usage: git remote prune <remote>\n";
413
+ print STDERR "usage: git remote prune <remote>\n";
414
exit(1);
415
}
416
my $status = 0;
@@ -458,13 +458,13 @@ elsif ($ARGV[0] eq 'add') {
458
}
459
elsif ($ARGV[0] eq 'rm') {
460
if (@ARGV <= 1) {
461
- print STDERR "Usage: git remote rm <remote>\n";
461
+ print STDERR "usage: git remote rm <remote>\n";
462
exit(1);
463
}
464
exit(rm_remote($ARGV[1]));
465
}
466
else {
467
- print STDERR "Usage: git remote\n";
467
+ print STDERR "usage: git remote\n";
468
print STDERR " git remote add <name> <url>\n";
469
print STDERR " git remote rm <name>\n";
470
print STDERR " git remote show <name>\n";