git push: remove incomplete options list from help text
'git push -h' shows usage text with incomplete list of options and then has a separate list of options that are supported. Imitate the way other commands (I looked at 'git diff' for an example) show their options. Signed-off-by: しらいし ななこ <nanako3@lavabit.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nanako Shiraishi committed
Oct 19, 2009 at 11:54 UTC
fcb044ee5754ad2df2d217748a976ec82970eb29
1 file changed
+1
-1
builtin-push.c
+1
-1
@@ -10,7 +10,7 @@
10
#include "parse-options.h"
11
12
static const char * const push_usage[] = {
13
- "git push [--all | --mirror] [-n | --dry-run] [--porcelain] [--tags] [--receive-pack=<git-receive-pack>] [--repo=<repository>] [-f | --force] [-v] [<repository> <refspec>...]",
13
+ "git push [<options>] [<repository> <refspec>...]",
14
NULL,
15
};
16