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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx>
---
 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

-------------------------------------------------------

-- 
Alan Chandler
http://www.chandlerfamily.org.uk
From: Alan Chandler <alan@xxxxxxxxxxxxxxxxxxxxx>

Signed-off-by: Alan Chandler <alan@xxxxxxxxxxxxxxxxxxxxx>
---
 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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]