summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Henrie <alexhenrie24@gmail.com>2016-09-08 04:34:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-09-08 19:16:38 (GMT)
commit88c782942cdd756cf0a0a720dd6f91e785ff57f2 (patch)
tree06cc885fc46173d7a1f3a6981d79b7ef6101c2ab
parentd65fdc9c5dbb44b60f841352699acbe54de37b95 (diff)
downloadgit-88c782942cdd756cf0a0a720dd6f91e785ff57f2.zip
git-88c782942cdd756cf0a0a720dd6f91e785ff57f2.tar.gz
git-88c782942cdd756cf0a0a720dd6f91e785ff57f2.tar.bz2
cat-file: put spaces around pipes in usage string
This makes the style a little more consistent with other usage strings, and will resolve a warning at https://www.softcatala.org/recursos/quality/git.html Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--builtin/cat-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/cat-file.c b/builtin/cat-file.c
index 2dfe626..560f6c2 100644
--- a/builtin/cat-file.c
+++ b/builtin/cat-file.c
@@ -440,7 +440,7 @@ static int batch_objects(struct batch_options *opt)
}
static const char * const cat_file_usage[] = {
- N_("git cat-file (-t [--allow-unknown-type]|-s [--allow-unknown-type]|-e|-p|<type>|--textconv) <object>"),
+ N_("git cat-file (-t [--allow-unknown-type] | -s [--allow-unknown-type] | -e | -p | <type> | --textconv) <object>"),
N_("git cat-file (--batch | --batch-check) [--follow-symlinks]"),
NULL
};