summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorKevin Bracey <kevin@bracey.fi>2013-03-11 19:44:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-03-11 19:59:57 (GMT)
commit03a0fb0ccf48c831060c2243f830b6a12cd8fdf3 (patch)
treeefa580e01a156e9d1c6e575b03b5d298c1638e3c /git.c
parent421a97694590c2be58f3ccebf301c7239289aa00 (diff)
downloadgit-03a0fb0ccf48c831060c2243f830b6a12cd8fdf3.zip
git-03a0fb0ccf48c831060c2243f830b6a12cd8fdf3.tar.gz
git-03a0fb0ccf48c831060c2243f830b6a12cd8fdf3.tar.bz2
git.c: make usage match manual page
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>
Diffstat (limited to 'git.c')
-rw-r--r--git.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/git.c b/git.c
index e484644..c598dc6 100644
--- a/git.c
+++ b/git.c
@@ -6,10 +6,10 @@
#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"
- " [-c name=value] [--help]\n"
" <command> [<args>]";
const char git_more_info_string[] =