]> git.ipfire.org Git - thirdparty/git.git/commitdiff
i18n: fix some misformated placeholders in command synopsis
authorJean-Noël Avila <jn.avila@free.fr>
Mon, 31 Jan 2022 22:07:49 +0000 (22:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 4 Feb 2022 21:58:28 +0000 (13:58 -0800)
 * add '<>' around arguments where missing
 * convert plurals into '...' forms

This applies the style guide for documentation.

Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Reviewed-by: Phillip Wood <phillip.wood123@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fast-export.c
builtin/reflog.c
builtin/rev-list.c

index 9f1c730e5876d5a0a8d6e015d8a9978b90e890e6..510139e9b54ecadf81d91a8a22297fd0ed3b9872 100644 (file)
@@ -26,7 +26,7 @@
 #include "commit-slab.h"
 
 static const char *fast_export_usage[] = {
-       N_("git fast-export [rev-list-opts]"),
+       N_("git fast-export [<rev-list-opts>]"),
        NULL
 };
 
index ee5ee8d8cf6a3f0112c1832812485a29dcd5266e..343a10d371b5b3edc40d6c0c030f57f875ca7aa8 100644 (file)
@@ -17,10 +17,10 @@ static const char reflog_expire_usage[] =
 N_("git reflog expire [--expire=<time>] "
    "[--expire-unreachable=<time>] "
    "[--rewrite] [--updateref] [--stale-fix] [--dry-run | -n] "
-   "[--verbose] [--all] <refs>...");
+   "[--verbose] [--all] <ref>...");
 static const char reflog_delete_usage[] =
 N_("git reflog delete [--rewrite] [--updateref] "
-   "[--dry-run | -n] [--verbose] <refs>...");
+   "[--dry-run | -n] [--verbose] <ref>...");
 static const char reflog_exists_usage[] =
 N_("git reflog exists <ref>");
 
index 777558e9b067ebbf7e91ba4e65570a86bd25a105..38528c7f15668534d66b358d2d3a0e3bb831b446 100644 (file)
@@ -20,7 +20,7 @@
 #include "packfile.h"
 
 static const char rev_list_usage[] =
-"git rev-list [OPTION] <commit-id>... [ -- paths... ]\n"
+"git rev-list [<options>] <commit-id>... [-- <path>...]\n"
 "  limiting output:\n"
 "    --max-count=<n>\n"
 "    --max-age=<epoch>\n"