summaryrefslogtreecommitdiff
path: root/builtin/difftool.c
diff options
context:
space:
mode:
authorBagas Sanjaya <bagasdotme@gmail.com>2021-09-21 11:17:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-09-23 00:09:02 (GMT)
commit51b04c05b7ab624db6751fe29e271864312b017a (patch)
tree8afb22e5ba6896bcd9d556b50fd2a2484722d9bb /builtin/difftool.c
parent225bc32a989d7a22fa6addafd4ce7dcd04675dbf (diff)
downloadgit-51b04c05b7ab624db6751fe29e271864312b017a.zip
git-51b04c05b7ab624db6751fe29e271864312b017a.tar.gz
git-51b04c05b7ab624db6751fe29e271864312b017a.tar.bz2
difftool: fix word spacing in the usage strings
Remove spaces in `non - zero` and add a space between the diff format/mode and option parentheses in difftool's usage strings. Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/difftool.c')
-rw-r--r--builtin/difftool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin/difftool.c b/builtin/difftool.c
index 6a9242a..ad91877 100644
--- a/builtin/difftool.c
+++ b/builtin/difftool.c
@@ -410,9 +410,9 @@ static int run_dir_diff(const char *extcmd, int symlinks, const char *prefix,
const char *src_path, *dst_path;
if (starts_with(info.buf, "::"))
- die(N_("combined diff formats('-c' and '--cc') are "
+ die(N_("combined diff formats ('-c' and '--cc') are "
"not supported in\n"
- "directory diff mode('-d' and '--dir-diff')."));
+ "directory diff mode ('-d' and '--dir-diff')."));
if (parse_index_info(info.buf, &lmode, &rmode, &loid, &roid,
&status))
@@ -713,7 +713,7 @@ int cmd_difftool(int argc, const char **argv, const char *prefix)
"`--tool`")),
OPT_BOOL(0, "trust-exit-code", &trust_exit_code,
N_("make 'git-difftool' exit when an invoked diff "
- "tool returns a non - zero exit code")),
+ "tool returns a non-zero exit code")),
OPT_STRING('x', "extcmd", &extcmd, N_("command"),
N_("specify a custom command for viewing diffs")),
OPT_ARGUMENT("no-index", &no_index, N_("passed to `diff`")),