summaryrefslogtreecommitdiff
path: root/Documentation/howto
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2018-08-02 21:17:35 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-03 08:36:20 -0700
commit8b5ebbed0e793f6fcf92100e600b7a4bdd6452e9 (patch)
tree5b9abca72412b0a2603ef75fc4bc975b044e07a8 /Documentation/howto
parentpush: use PARSE_OPT_LITERAL_ARGHELP instead of unbalanced brackets (diff)
downloadtgif-8b5ebbed0e793f6fcf92100e600b7a4bdd6452e9.tar.xz
add, update-index: fix --chmod argument help
Don't translate the argument specification for --chmod; "+x" and "-x" are the literal strings that the commands accept. Separate alternatives using a pipe character instead of a slash, for consistency. Use the flag PARSE_OPT_LITERAL_ARGHELP to prevent parseopt from adding a pair of angular brackets around the argument help string, as that would wrongly indicate that users need to replace the literal strings with some kind of value. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/howto')
0 files changed, 0 insertions, 0 deletions