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

[PATCH 00/16] make usage text consistent in git commands

From
David Aguilar <davvid@gmail.com>
Date
Feb 24, 2013, 00:20 UTC
Message-ID
<1361665254-42866-1-git-send-email-davvid@gmail.com>

Various helper commands around Git say "Usage: ..." when invoked as "git $cmd -h". This is inconsitent with the core git commands which all use the lowercase "usage: ..." form.

Adjust these so that they match the convention used by builtin/help.c and git.c.

I fixed a tiny problem in import-zips.py while I was in there, though it's unlikely that anyone uses such an old Python these days.

There are still one or two results for "git grep Usage:" near the tests, but end users do not ever see them so I figured it was best to leave them as-is.

David Aguilar (16):
  git-sh-setup: make usage text consistent
  git-svn: make usage text consistent
  git-relink: make usage text consistent
  git-merge-one-file: make usage text consistent
  git-archimport: make usage text consistent
  git-cvsexportcommit: make usage text consistent
  git-cvsimport: make usage text consistent
  git-cvsimport: make usage text consistent
  contrib/credential: make usage text consistent
  contrib/fast-import: make usage text consistent
  contrib/fast-import/import-zips.py: fix broken error message
  contrib/fast-import/import-zips.py: use spaces instead of tabs
  contrib/examples: make usage text consistent
  contrib/hooks/setgitperms.perl: make usage text consistent
  templates/hooks--update.sample: make usage text consistent
  Documentation/user-manual.txt: make usage text consistent
 Documentation/user-manual.txt                      |  4 +-
 .../gnome-keyring/git-credential-gnome-keyring.c   |  2 +-
 .../osxkeychain/git-credential-osxkeychain.c       |  2 +-
 .../credential/wincred/git-credential-wincred.c    |  2 +-
 contrib/examples/git-remote.perl                   |  2 +-
 contrib/examples/git-svnimport.perl                |  2 +-
 contrib/fast-import/git-import.perl                |  2 +-
 contrib/fast-import/git-import.sh                  |  2 +-
 contrib/fast-import/import-zips.py                 | 98 +++++++++++-----------
 contrib/hooks/setgitperms.perl                     |  2 +-
 git-archimport.perl                                |  2 +-
 git-cvsexportcommit.perl                           |  2 +-
 git-cvsimport.perl                                 |  2 +-
 git-cvsserver.perl                                 |  2 +-
 git-merge-one-file.sh                              |  2 +-
 git-relink.perl                                    |  2 +-
 git-sh-setup.sh                                    |  6 +-
 git-svn.perl                                       |  2 +-
 templates/hooks--update.sample                     |  2 +-
 19 files changed, 70 insertions(+), 70 deletions(-)
-- 
1.8.2.rc0.247.g811e0c0
Next: David Aguilar
Message 1 of 20 in “make usage text consistent in git commands”
  1. 00/16 make usage text consistent in git commandsDavid Aguilar, Feb 24, 2013
  2. 01/16 git-sh-setup: make usage text consistentDavid Aguilar, Feb 24, 2013
  3. 02/16 git-svn: make usage text consistentDavid Aguilar, Feb 24, 2013
  4. 03/16 git-relink: make usage text consistentDavid Aguilar, Feb 24, 2013
  5. 04/16 git-merge-one-file: make usage text consistentDavid Aguilar, Feb 24, 2013
  6. 05/16 git-archimport: make usage text consistentDavid Aguilar, Feb 24, 2013
  7. 06/16 git-cvsexportcommit: make usage text consistentDavid Aguilar, Feb 24, 2013
  8. 07/16 git-cvsimport: make usage text consistentDavid Aguilar, Feb 24, 2013
  9. 08/16 git-cvsimport: make usage text consistentDavid Aguilar, Feb 24, 2013
  10. 09/16 contrib/credential: make usage text consistentDavid Aguilar, Feb 24, 2013
  11. 10/16 contrib/fast-import: make usage text consistentDavid 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: make usage text consistentDavid Aguilar, Feb 24, 2013
  15. 14/16 contrib/hooks/setgitperms.perl: make usage text consistentDavid Aguilar, Feb 24, 2013
  16. 15/16 templates/hooks--update.sample: make usage text consistentDavid Aguilar, Feb 24, 2013
  17. 16/16 Documentation/user-manual.txt: make usage text consistentDavid Aguilar, Feb 24, 2013
  18. Jonathan NiederFeb 24, 2013
  19. Jonathan NiederFeb 24, 2013
  20. 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.