]> git.ipfire.org Git - thirdparty/git.git/commitdiff
ls-files: use imperative mood for -X and -z option description
authorBagas Sanjaya <bagasdotme@gmail.com>
Tue, 21 Sep 2021 11:13:05 +0000 (18:13 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Sep 2021 19:07:37 +0000 (12:07 -0700)
Usage description for -X and -z options use descriptive instead of
imperative mood. Edit it for consistency with other options.

Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/ls-files.c

index 29a26ad8ae483b6055268ca2a238b8b7e9c09b74..e6d415e077a9b1b6e6758f3a99e4677a1396ab41 100644 (file)
@@ -614,7 +614,7 @@ int cmd_ls_files(int argc, const char **argv, const char *cmd_prefix)
        struct option builtin_ls_files_options[] = {
                /* Think twice before adding "--nul" synonym to this */
                OPT_SET_INT('z', NULL, &line_terminator,
-                       N_("paths are separated with NUL character"), '\0'),
+                       N_("separate paths with the NUL character"), '\0'),
                OPT_BOOL('t', NULL, &show_tag,
                        N_("identify the file status with tags")),
                OPT_BOOL('v', NULL, &show_valid_bit,
@@ -651,7 +651,7 @@ int cmd_ls_files(int argc, const char **argv, const char *cmd_prefix)
                        N_("skip files matching pattern"),
                        PARSE_OPT_NONEG, option_parse_exclude),
                OPT_CALLBACK_F('X', "exclude-from", &dir, N_("file"),
-                       N_("exclude patterns are read from <file>"),
+                       N_("read exclude patterns from <file>"),
                        PARSE_OPT_NONEG, option_parse_exclude_from),
                OPT_STRING(0, "exclude-per-directory", &dir.exclude_per_dir, N_("file"),
                        N_("read additional per-directory exclude patterns in <file>")),