git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 3/4] contrib/examples/git-remote.perl: use a lowercase "usage:" string

From
David Aguilar <davvid@gmail.com>
Date
Feb 24, 2013, 22:48 UTC
Message-ID
<1361746121-56921-3-git-send-email-davvid@gmail.com>
In-Reply-To
<1361746121-56921-2-git-send-email-davvid@gmail.com>
Make the usage string consistent with Git.
Signed-off-by: David Aguilar <davvid@gmail.com>
---
 contrib/examples/git-remote.perl | 8 ++++----
 1 file 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";
-- 
1.7.12.4 (Apple Git-37)
Previous: David AguilarNext: David Aguilar
Message 3 of 4 in “git-svn: use a lowercase "usage:" string”
  1. 1/4 git-svn: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  2. 2/4 tests: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  3. 3/4 contrib/examples/git-remote.perl: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  4. 4/4 contrib/mw-to-git/t/install-wiki.sh: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.