Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git.c: make usage match manual page
author
Kevin Bracey
<kevin@bracey.fi>
Mon, 11 Mar 2013 19:44:15 +0000
(21:44 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 11 Mar 2013 19:59:57 +0000
(12:59 -0700)
Reorder option list in command-line usage to match the manual page.
Also make it less than 80-characters wide.
Signed-off-by: Kevin Bracey <kevin@bracey.fi>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
421a976
)
diff --git
a/git.c
b/git.c
index e484644897e5a47986e0b59949b1149a60a7d30c..c598dc63670ba49d9f6f720834df788dc41b3a44 100644
(file)
--- a/
git.c
+++ b/
git.c
@@
-6,10
+6,10
@@
#include "run-command.h"
const char git_usage_string[] =
#include "run-command.h"
const char git_usage_string[] =
- "git [--version] [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n"
+ "git [--version] [--help] [-c name=value]\n"
+ " [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n"
" [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n"
" [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n"
" [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n"
" [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n"
- " [-c name=value] [--help]\n"
" <command> [<args>]";
const char git_more_info_string[] =
" <command> [<args>]";
const char git_more_info_string[] =