diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-10-13 18:39:02 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-10-13 19:32:55 +0300 |
commit | 5af8b61cc36216bfde9d8b934fb8b657c2093aec (patch) | |
tree | 6620fb9dab8cf728be22d1e1d74e5f9455157170 /builtin/hash-object.c | |
parent | acf7828e388a67f6a7a025dc68b7012a6c3eee75 (diff) |
doc txt & -h consistency: word-wrap
Change the documentation and -h output for those built-in commands
where both the -h output and *.txt were lacking in word-wrapping.
There are many more built-ins that could use this treatment, this
change is narrowed to those where this whitespace change is needed to
make the -h and *.txt consistent in the end.
In the case of "Documentation/git-hash-object.txt" and
"builtin/hash-object.c" this is not a "doc txt & -h consistency"
change, as we're changing both versions, doing so here makes a
subsequent change smaller.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/hash-object.c')
-rw-r--r-- | builtin/hash-object.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/hash-object.c b/builtin/hash-object.c index fbae878c2b..f7c16802f0 100644 --- a/builtin/hash-object.c +++ b/builtin/hash-object.c @@ -80,7 +80,8 @@ static void hash_stdin_paths(const char *type, int no_filters, unsigned flags, int cmd_hash_object(int argc, const char **argv, const char *prefix) { static const char * const hash_object_usage[] = { - N_("git hash-object [-t <type>] [-w] [--path=<file> | --no-filters] [--stdin] [--] <file>..."), + N_("git hash-object [-t <type>] [-w] [--path=<file> | --no-filters]\n" + " [--stdin] [--] <file>..."), "git hash-object --stdin-paths", NULL }; |