X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=git.c;h=0409ac9fd3f1ea36680189e07116e58b2630ccad;hb=1f238da57334ca0155ae7560b173eefc8c4c157a;hp=ce4bcfec03bb4371d01b3f39bf93764eda337ce7;hpb=1d86cb80ceee1e93eacded1555abd7f113857efd;p=git.git diff --git a/git.c b/git.c index ce4bcfec0..0409ac9fd 100644 --- a/git.c +++ b/git.c @@ -1,18 +1,19 @@ #include "builtin.h" -#include "exec_cmd.h" #include "cache.h" +#include "exec_cmd.h" +#include "help.h" #include "quote.h" #include "run-command.h" const char git_usage_string[] = - "git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]\n" + "git [--version] [--exec-path[=]] [--html-path]\n" " [-p|--paginate|--no-pager] [--no-replace-objects]\n" - " [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]\n" + " [--bare] [--git-dir=] [--work-tree=]\n" " [-c name=value] [--help]\n" - " COMMAND [ARGS]"; + " []"; const char git_more_info_string[] = - "See 'git help COMMAND' for more information on a specific command."; + "See 'git help ' for more information on a specific command."; static struct startup_info git_startup_info; static int use_pager = -1;