i18n: fix some misformated placeholders in command synopsis
* 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>
Jean-Noël Avila committed
Jan 31, 2022 at 22:07 UTC
9164d97a63b31614a52571d708f1ef151b97db71
3 files changed
+4
-4
builtin/fast-export.c
+1
-1
@@ -26,7 +26,7 @@
26
#include "commit-slab.h"
27
28
static const char *fast_export_usage[] = {
29
- N_("git fast-export [rev-list-opts]"),
29
+ N_("git fast-export [<rev-list-opts>]"),
30
NULL
31
};
32
builtin/reflog.c
+2
-2
@@ -17,10 +17,10 @@ static const char reflog_expire_usage[] =
17
N_("git reflog expire [--expire=<time>] "
18
"[--expire-unreachable=<time>] "
19
"[--rewrite] [--updateref] [--stale-fix] [--dry-run | -n] "
20
- "[--verbose] [--all] <refs>...");
20
+ "[--verbose] [--all] <ref>...");
21
static const char reflog_delete_usage[] =
22
N_("git reflog delete [--rewrite] [--updateref] "
23
- "[--dry-run | -n] [--verbose] <refs>...");
23
+ "[--dry-run | -n] [--verbose] <ref>...");
24
static const char reflog_exists_usage[] =
25
N_("git reflog exists <ref>");
26
builtin/rev-list.c
+1
-1
@@ -20,7 +20,7 @@
20
#include "packfile.h"
21
22
static const char rev_list_usage[] =
23
-"git rev-list [OPTION] <commit-id>... [ -- paths... ]\n"
23
+"git rev-list [<options>] <commit-id>... [-- <path>...]\n"
24
" limiting output:\n"
25
" --max-count=<n>\n"
26
" --max-age=<epoch>\n"