Skip to content

Commit 9164d97

Browse files
jnavilagitster
authored andcommitted
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 <[email protected]> Reviewed-by: Phillip Wood <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 959d670 commit 9164d97

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

builtin/fast-export.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include "commit-slab.h"
2727

2828
static const char *fast_export_usage[] = {
29-
N_("git fast-export [rev-list-opts]"),
29+
N_("git fast-export [<rev-list-opts>]"),
3030
NULL
3131
};
3232

builtin/reflog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ static const char reflog_expire_usage[] =
1717
N_("git reflog expire [--expire=<time>] "
1818
"[--expire-unreachable=<time>] "
1919
"[--rewrite] [--updateref] [--stale-fix] [--dry-run | -n] "
20-
"[--verbose] [--all] <refs>...");
20+
"[--verbose] [--all] <ref>...");
2121
static const char reflog_delete_usage[] =
2222
N_("git reflog delete [--rewrite] [--updateref] "
23-
"[--dry-run | -n] [--verbose] <refs>...");
23+
"[--dry-run | -n] [--verbose] <ref>...");
2424
static const char reflog_exists_usage[] =
2525
N_("git reflog exists <ref>");
2626

builtin/rev-list.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "packfile.h"
2121

2222
static const char rev_list_usage[] =
23-
"git rev-list [OPTION] <commit-id>... [ -- paths... ]\n"
23+
"git rev-list [<options>] <commit-id>... [-- <path>...]\n"
2424
" limiting output:\n"
2525
" --max-count=<n>\n"
2626
" --max-age=<epoch>\n"

0 commit comments

Comments
 (0)