threads / patch / 24522

patchFix 'git' wrapper usage string

Subject: [PATCH] Fix 'git' wrapper usage string

## tl;dr

2 messages between Jul 26, 2010 and Jul 26, 2010. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Thomas Rast· Jul 26, 2010, 08:36 UTC · lore

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(-)
Show changes to git.c +2 −2
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

← back to recent threads