From beb5ab184ca2dfbc5a68693761bd7dc8f7044150 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Sat, 23 Feb 2013 16:50:21 -0800 Subject: contrib/examples: use a lowercase "usage:" string Make the usage string consistent with Git. Reviewed-by: Jonathan Nieder Signed-off-by: David Aguilar Signed-off-by: Junio C Hamano --- contrib/examples/git-remote.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/examples/git-remote.perl') diff --git a/contrib/examples/git-remote.perl b/contrib/examples/git-remote.perl index b17952a785..b549a3c11f 100755 --- a/contrib/examples/git-remote.perl +++ b/contrib/examples/git-remote.perl @@ -347,7 +347,7 @@ sub rm_remote { } sub add_usage { - print STDERR "Usage: git remote add [-f] [-t track]* [-m master] \n"; + print STDERR "usage: git remote add [-f] [-t track]* [-m master] \n"; exit(1); } -- cgit v1.2.3 From f86cad716424019308d9b992468dbed1762dd8a4 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Sun, 24 Feb 2013 14:48:40 -0800 Subject: contrib/examples/git-remote.perl: use a lowercase "usage:" string Make the usage string consistent with Git. Signed-off-by: David Aguilar Signed-off-by: Junio C Hamano --- contrib/examples/git-remote.perl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'contrib/examples/git-remote.perl') diff --git a/contrib/examples/git-remote.perl b/contrib/examples/git-remote.perl index b549a3c11f..d42df7b418 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 \n"; + print STDERR "usage: git remote show \n"; exit(1); } my $status = 0; @@ -410,7 +410,7 @@ elsif ($ARGV[0] eq 'prune') { } } if ($i >= @ARGV) { - print STDERR "Usage: git remote prune \n"; + print STDERR "usage: git remote prune \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 \n"; + print STDERR "usage: git remote rm \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 \n"; print STDERR " git remote rm \n"; print STDERR " git remote show \n"; -- cgit v1.2.3