Skip to content

Commit

Permalink
wrap git's main usage string.
Browse files Browse the repository at this point in the history
It's now similar wrapped the same way as in Documentation/git.txt, and
fits in a 67 characters wide terminal.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Matthieu Moy authored and Junio C Hamano committed Sep 13, 2009
1 parent 5b590d7 commit 511a3fc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion git.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
#include "run-command.h"

const char git_usage_string[] =
"git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path] [-p|--paginate|--no-pager] [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE] [--help] COMMAND [ARGS]";
"git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]\n"
" [-p|--paginate|--no-pager]\n"
" [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]\n"
" [--help] COMMAND [ARGS]";

const char git_more_info_string[] =
"See 'git help COMMAND' for more information on a specific command.";
Expand Down

0 comments on commit 511a3fc

Please sign in to comment.