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

[PATCH] Fix 'git' wrapper usage string

From
Thomas Rast <trast@student.ethz.ch>
Date
Jul 26, 2010, 08:36 UTC
Message-ID
<4318a25a007ab63b34cb2e34a18e38b30332102a.1280133352.git.trast@student.ethz.ch>

8b1fa77 (Allow passing of configuration parameters in the command line, 2010-03-26) forgot the closing ']' for the -c option.

While we're there, also rewrap. Instead of folding the last two lines together, try to highlight that COMMAND is required by starting a line with it.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
---
 git.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/git.c b/git.c
index 1753811..f37028b 100644
--- a/git.c
+++ b/git.c
@@ -8,8 +8,8 @@
 	"git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]\n"
 	"           [-p|--paginate|--no-pager] [--no-replace-objects]\n"
 	"           [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]\n"
-	"           [-c name=value\n"
-	"           [--help] COMMAND [ARGS]";
+	"           [-c name=value] [--help]\n"
+	"           COMMAND [ARGS]";
 
 const char git_more_info_string[] =
 	"See 'git help COMMAND' for more information on a specific command.";
-- 
1.7.2.300.ga4b76.dirty
Next: Ævar Arnfjörð Bjarmason
Message 1 of 2 in “Fix 'git' wrapper usage string”
  1. Fix 'git' wrapper usage stringThomas Rast, Jul 26, 2010
  2. Ævar Arnfjörð BjarmasonJul 26, 2010

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.