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>
Kevin Bracey committed
Mar 11, 2013 at 21:44 UTC
03a0fb0ccf48c831060c2243f830b6a12cd8fdf3
1 file changed
+2
-2
git.c
+2
-2
@@ -6,10 +6,10 @@
6
#include "run-command.h"
7
8
const char git_usage_string[] =
9
- "git [--version] [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n"
9
+ "git [--version] [--help] [-c name=value]\n"
10
+ " [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n"
11
" [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n"
12
" [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n"
12
- " [-c name=value] [--help]\n"
13
" <command> [<args>]";
14
15
const char git_more_info_string[] =