Skip to contentSkip to conversation

cat-file: put spaces around pipes in usage string

PATCH In review Alex Henrie 1 participant 1 message Sep 8, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 2/5 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

---
 builtin/cat-file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
builtin/cat-file.c +1 -1
index 2dfe626..560f6c2 100644
@@ -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
 };
Signature · 1 line
2.9.3