summaryrefslogtreecommitdiff
path: root/contrib/examples
diff options
context:
space:
mode:
authorDavid Aguilar <davvid@gmail.com>2013-02-24 22:48:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-02-25 05:30:15 (GMT)
commitf86cad716424019308d9b992468dbed1762dd8a4 (patch)
tree5620dc6099e08520004b16efef17037160a4f013 /contrib/examples
parentb978403aed7f2df46bc4c8a63314959d8982e0ac (diff)
downloadgit-f86cad716424019308d9b992468dbed1762dd8a4.zip
git-f86cad716424019308d9b992468dbed1762dd8a4.tar.gz
git-f86cad716424019308d9b992468dbed1762dd8a4.tar.bz2
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>
Diffstat (limited to 'contrib/examples')
-rwxr-xr-xcontrib/examples/git-remote.perl8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/examples/git-remote.perl b/contrib/examples/git-remote.perl
index b549a3c..d42df7b 100755
--- a/contrib/examples/git-remote.perl
+++ b/contrib/examples/git-remote.perl
@@ -380,7 +380,7 @@ elsif ($ARGV[0] eq 'show') {
}
}
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 @@ elsif ($ARGV[0] eq 'prune') {
}
}
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 @@ elsif ($ARGV[0] eq 'add') {
}
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";