diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-02-15 15:14:48 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-02-15 15:14:48 -0800 |
commit | 3e0d3cd5c7def4808247caf168e17f2bbf47892b (patch) | |
tree | 1886ab70b55d47fbd63a06e7f131c670fface989 | |
parent | 4fc51f00ef18d2c0174ab2fd39d0ee473fd144bd (diff) | |
parent | 5e7013aa14739c3505a35b35ca095eeaace5d181 (diff) | |
download | git-3e0d3cd5c7def4808247caf168e17f2bbf47892b.tar.gz |
Merge branch 'jx/dirstat-parseopt-help'
The mark-up of diff options has been updated to help translators.
* jx/dirstat-parseopt-help:
diff: mark param1 and param2 as placeholders
-rw-r--r-- | diff.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5590,7 +5590,7 @@ struct option *add_diff_options(const struct option *opts, OPT_BITOP(0, "shortstat", &options->output_format, N_("output only the last line of --stat"), DIFF_FORMAT_SHORTSTAT, DIFF_FORMAT_NO_OUTPUT), - OPT_CALLBACK_F('X', "dirstat", options, N_("<param1,param2>..."), + OPT_CALLBACK_F('X', "dirstat", options, N_("<param1>,<param2>..."), N_("output the distribution of relative amount of changes for each sub-directory"), PARSE_OPT_NONEG | PARSE_OPT_OPTARG, diff_opt_dirstat), @@ -5598,8 +5598,8 @@ struct option *add_diff_options(const struct option *opts, N_("synonym for --dirstat=cumulative"), PARSE_OPT_NONEG | PARSE_OPT_NOARG, diff_opt_dirstat), - OPT_CALLBACK_F(0, "dirstat-by-file", options, N_("<param1,param2>..."), - N_("synonym for --dirstat=files,param1,param2..."), + OPT_CALLBACK_F(0, "dirstat-by-file", options, N_("<param1>,<param2>..."), + N_("synonym for --dirstat=files,<param1>,<param2>..."), PARSE_OPT_NONEG | PARSE_OPT_OPTARG, diff_opt_dirstat), OPT_BIT_F(0, "check", &options->output_format, |