Skip to content

Commit 9f6013a

Browse files
rscharfegitster
authored andcommitted
difftool: remove angular brackets from argument help
Parseopt wraps arguments in a pair of angular brackets by default, signifying that the user needs to replace it with a value of the documented type. Remove the pairs from the option definitions to duplication and confusion. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 8b5ebbe commit 9f6013a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builtin/difftool.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -703,15 +703,15 @@ int cmd_difftool(int argc, const char **argv, const char *prefix)
703703
NULL, 1 },
704704
OPT_BOOL(0, "symlinks", &symlinks,
705705
N_("use symlinks in dir-diff mode")),
706-
OPT_STRING('t', "tool", &difftool_cmd, N_("<tool>"),
706+
OPT_STRING('t', "tool", &difftool_cmd, N_("tool"),
707707
N_("use the specified diff tool")),
708708
OPT_BOOL(0, "tool-help", &tool_help,
709709
N_("print a list of diff tools that may be used with "
710710
"`--tool`")),
711711
OPT_BOOL(0, "trust-exit-code", &trust_exit_code,
712712
N_("make 'git-difftool' exit when an invoked diff "
713713
"tool returns a non - zero exit code")),
714-
OPT_STRING('x', "extcmd", &extcmd, N_("<command>"),
714+
OPT_STRING('x', "extcmd", &extcmd, N_("command"),
715715
N_("specify a custom command for viewing diffs")),
716716
OPT_END()
717717
};

0 commit comments

Comments
 (0)