Skip to content

Commit fcb044e

Browse files
Nanako Shiraishigitster
authored andcommitted
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: しらいし ななこ <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 989119d commit fcb044e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin-push.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "parse-options.h"
1111

1212
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>...]",
1414
NULL,
1515
};
1616

0 commit comments

Comments
 (0)