diff options
| author | Lucas Seiki Oshiro <lucasseikioshiro@gmail.com> | 2025-12-04 17:10:11 -0300 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-12-05 11:39:19 +0900 |
| commit | 768cf991ffea54dbcaf63c45750f0e3a26ebdcc6 (patch) | |
| tree | ebfc9894eb0accb791801b87a2012f136f449e12 /builtin/repo.c | |
| parent | 6fd44f55a7594842e70d549853b7f1ac4e27e6ea (diff) | |
| download | git-768cf991ffea54dbcaf63c45750f0e3a26ebdcc6.tar.gz | |
repo: use [--format=... | -z] instead of [-z] in git-repo-info synopsis
The flag -z is only an alias for --format=null and even though --format
and -z can be used together and repeated, only the last one is
considered.
Replace `[-z]` in the synopsis of git-repo-info by
`[--format=... | -z]`, expliciting that the use of one of those flags
replace the other.
Signed-off-by: Lucas Seiki Oshiro <lucasseikioshiro@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/repo.c')
| -rw-r--r-- | builtin/repo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/repo.c b/builtin/repo.c index 2a653bd3ea..cc97dd1836 100644 --- a/builtin/repo.c +++ b/builtin/repo.c @@ -15,7 +15,7 @@ #include "utf8.h" static const char *const repo_usage[] = { - "git repo info [--format=(keyvalue|nul)] [-z] [--all | <key>...]", + "git repo info [--format=(keyvalue|nul) | -z] [--all | <key>...]", "git repo structure [--format=(table|keyvalue|nul)]", NULL }; |
