threads / patch / 5801

patchFix usage string to match that given in the man page

Subject: [PATCH] Fix usage string to match that given in the man page

## tl;dr

One message between Oct 3, 2006 and Oct 3, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Alan Chandler· Oct 3, 2006, 20:11 UTC · lore

Still not managed to understand git-send-mail sufficiently well to not accidently miss of this list when I sending it to Junio

Signed-off-by: Alan Chandler <alan@chandlerfamily.org.uk>
---
 git.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to git.c +1 −2
diff --git a/git.c b/git.c
index ae80e78..b8e8622 100644
--- a/git.c
+++ b/git.c
@@ -16,7 +16,7 @@ #include "quote.h"
 #include "builtin.h"

 const char git_usage_string[] =
-	"git [--version] [--exec-path[=GIT_EXEC_PATH]] [--help] COMMAND [ ARGS ]";
+	"git [--version] [--exec-path[=GIT_EXEC_PATH]] [-p|--paginate] [--bare]
 [--git-dir=GIT_DIR] [--help] COMMAND [ARGS]";

 static void prepend_to_path(const char *dir, int len)
 {
--
1.4.2.1

-------------------------------------------------------
-- 
Alan Chandler
http://www.chandlerfamily.org.uk


From: Alan Chandler <alan@chandlerfamily.org.uk>

Signed-off-by: Alan Chandler <alan@chandlerfamily.org.uk>
---
 git.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git.c b/git.c
index ae80e78..b8e8622 100644
--- a/git.c
+++ b/git.c
@@ -16,7 +16,7 @@ #include "quote.h"
 #include "builtin.h"
 
 const char git_usage_string[] =
-	"git [--version] [--exec-path[=GIT_EXEC_PATH]] [--help] COMMAND [ ARGS ]";
+	"git [--version] [--exec-path[=GIT_EXEC_PATH]] [-p|--paginate] [--bare] [--git-dir=GIT_DIR] [--help] COMMAND [ARGS]";
 
 static void prepend_to_path(const char *dir, int len)
 {
-- 
1.4.2.1

← back to recent threads