Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
contrib/examples/git-remote.perl: use a lowercase "usage:" string
author
David Aguilar
<davvid@gmail.com>
Sun, 24 Feb 2013 22:48:40 +0000
(14:48 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 25 Feb 2013 05:30:15 +0000
(21:30 -0800)
Make the usage string consistent with Git.
Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/examples/git-remote.perl
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
b978403
)
diff --git
a/contrib/examples/git-remote.perl
b/contrib/examples/git-remote.perl
index b549a3c11faaaf90c2ac56a9c6c4732c31baad82..d42df7b4188672e01dd7c95d5dcd73939f0fd600 100755
(executable)
--- a/
contrib/examples/git-remote.perl
+++ b/
contrib/examples/git-remote.perl
@@
-380,7
+380,7
@@
sub add_usage {
}
}
if ($i >= @ARGV) {
}
}
if ($i >= @ARGV) {
- print STDERR "
U
sage: git remote show <remote>\n";
+ print STDERR "
u
sage: git remote show <remote>\n";
exit(1);
}
my $status = 0;
exit(1);
}
my $status = 0;
@@
-410,7
+410,7
@@
sub add_usage {
}
}
if ($i >= @ARGV) {
}
}
if ($i >= @ARGV) {
- print STDERR "
U
sage: git remote prune <remote>\n";
+ print STDERR "
u
sage: git remote prune <remote>\n";
exit(1);
}
my $status = 0;
exit(1);
}
my $status = 0;
@@
-458,13
+458,13
@@
sub add_usage {
}
elsif ($ARGV[0] eq 'rm') {
if (@ARGV <= 1) {
}
elsif ($ARGV[0] eq 'rm') {
if (@ARGV <= 1) {
- print STDERR "
U
sage: git remote rm <remote>\n";
+ print STDERR "
u
sage: git remote rm <remote>\n";
exit(1);
}
exit(rm_remote($ARGV[1]));
}
else {
exit(1);
}
exit(rm_remote($ARGV[1]));
}
else {
- print STDERR "
U
sage: git remote\n";
+ print STDERR "
u
sage: 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";
print STDERR " git remote add <name> <url>\n";
print STDERR " git remote rm <name>\n";
print STDERR " git remote show <name>\n";