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

[PATCH v2 09/16] contrib/credential: use a lowercase "usage:" string

From
David Aguilar <davvid@gmail.com>
Date
Feb 24, 2013, 00:50 UTC
Message-ID
<1361667024-49776-10-git-send-email-davvid@gmail.com>
In-Reply-To
<1361667024-49776-9-git-send-email-davvid@gmail.com>
Make the usage string consistent with Git.
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: David Aguilar <davvid@gmail.com>
---
 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c | 2 +-
 contrib/credential/osxkeychain/git-credential-osxkeychain.c     | 2 +-
 contrib/credential/wincred/git-credential-wincred.c             | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c b/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
index 41f61c5..f2cdefe 100644
--- a/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
+++ b/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
@@ -401,7 +401,7 @@ static void usage(const char *name)
 	const char *basename = strrchr(name,'/');
 
 	basename = (basename) ? basename + 1 : name;
-	fprintf(stderr, "Usage: %s <", basename);
+	fprintf(stderr, "usage: %s <", basename);
 	while(try_op->name) {
 		fprintf(stderr,"%s",(try_op++)->name);
 		if(try_op->name)
diff --git a/contrib/credential/osxkeychain/git-credential-osxkeychain.c b/contrib/credential/osxkeychain/git-credential-osxkeychain.c
index 6beed12..3940202 100644
--- a/contrib/credential/osxkeychain/git-credential-osxkeychain.c
+++ b/contrib/credential/osxkeychain/git-credential-osxkeychain.c
@@ -154,7 +154,7 @@ static void read_credential(void)
 int main(int argc, const char **argv)
 {
 	const char *usage =
-		"Usage: git credential-osxkeychain <get|store|erase>";
+		"usage: git credential-osxkeychain <get|store|erase>";
 
 	if (!argv[1])
 		die(usage);
diff --git a/contrib/credential/wincred/git-credential-wincred.c b/contrib/credential/wincred/git-credential-wincred.c
index cbaec5f..6619492 100644
--- a/contrib/credential/wincred/git-credential-wincred.c
+++ b/contrib/credential/wincred/git-credential-wincred.c
@@ -313,7 +313,7 @@ static void read_credential(void)
 int main(int argc, char *argv[])
 {
 	const char *usage =
-	    "Usage: git credential-wincred <get|store|erase>\n";
+	    "usage: git credential-wincred <get|store|erase>\n";
 
 	if (!argv[1])
 		die(usage);
-- 
1.8.2.rc0.263.g20d9441
Previous: David AguilarNext: David Aguilar
Message 10 of 19 in “use a lowercase "usage:" string”
  1. 00/16 use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  2. 01/16 git-sh-setup: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  3. 02/16 git-svn: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  4. 03/16 git-relink: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  5. 04/16 git-merge-one-file: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  6. 05/16 git-archimport: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  7. 06/16 git-cvsexportcommit: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  8. 07/16 git-cvsimport: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  9. 08/16 git-cvsimport: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  10. 09/16 contrib/credential: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  11. 10/16 contrib/fast-import: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  12. 11/16 contrib/fast-import/import-zips.py: fix broken error messageDavid Aguilar, Feb 24, 2013
  13. 12/16 contrib/fast-import/import-zips.py: use spaces instead of tabsDavid Aguilar, Feb 24, 2013
  14. 13/16 contrib/examples: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  15. 14/16 contrib/hooks/setgitperms.perl: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  16. 15/16 templates/hooks--update.sample: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  17. 16/16 Documentation/user-manual.txt: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  18. Junio C HamanoFeb 24, 2013
  19. David AguilarFeb 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.