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

[PATCH] wrap git's main usage string.

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Sep 12, 2009, 10:39 UTC
Message-ID
<1252751970-15978-1-git-send-email-Matthieu.Moy@imag.fr>

It's now similar wrapped the same way as in Documentation/git.txt, and fits in a 67 characters wide terminal.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
---
 git.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/git.c b/git.c
index 0b22595..271579c 100644
--- a/git.c
+++ b/git.c
@@ -5,7 +5,10 @@
 #include "run-command.h"
 
 const char git_usage_string[] =
-	"git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path] [-p|--paginate|--no-pager] [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE] [--help] COMMAND [ARGS]";
+	"git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]\n"
+	"           [-p|--paginate|--no-pager]\n"
+	"           [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]\n"
+	"           [--help] COMMAND [ARGS]";
 
 const char git_more_info_string[] =
 	"See 'git help COMMAND' for more information on a specific command.";
-- 
1.6.5.rc0.12.gbebb.dirty
Message 1 of 1 in “wrap git's main usage string.”
  1. wrap git's main usage string.Matthieu Moy, Sep 12, 2009

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.