aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/unpack-file.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-10-13 17:39:10 +0200
committerJunio C Hamano <gitster@pobox.com>2022-10-13 09:32:56 -0700
commitf6a8ef07009bf44e2fed292439161c241e09b40d (patch)
treebd70b9109a364f7b3d7910441376fd064a502140 /builtin/unpack-file.c
parentdoc SYNOPSIS & -h: use "-" to separate words in labels, not "_" (diff)
downloadgit-f6a8ef07009bf44e2fed292439161c241e09b40d.tar.gz
git-f6a8ef07009bf44e2fed292439161c241e09b40d.zip
doc txt & -h consistency: fix mismatching labels
Fix various inconsistencies between command SYNOPSIS and the corresponding -h output where our translatable labels didn't match up. In some cases we need to adjust the prose that follows the SYNOPSIS accordingly, as it refers back to the changed label. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/unpack-file.c')
-rw-r--r--builtin/unpack-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/unpack-file.c b/builtin/unpack-file.c
index 58652229f2..9e8119dd35 100644
--- a/builtin/unpack-file.c
+++ b/builtin/unpack-file.c
@@ -27,7 +27,7 @@ int cmd_unpack_file(int argc, const char **argv, const char *prefix)
struct object_id oid;
if (argc != 2 || !strcmp(argv[1], "-h"))
- usage("git unpack-file <sha1>");
+ usage("git unpack-file <blob>");
if (get_oid(argv[1], &oid))
die("Not a valid object name %s", argv[1]);