]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
grepc: Usage: ffix
authorAlejandro Colomar <alx.manpages@gmail.com>
Wed, 11 May 2022 16:53:30 +0000 (18:53 +0200)
committerAlejandro Colomar <alx@kernel.org>
Wed, 29 Oct 2025 20:28:57 +0000 (21:28 +0100)
Using caps instead of <> will be nicer when we add options and
optional arguments for the files/directories:

  Usage: grepc [OPTION]... IDENTIFIER [FILE]...

vs

  Usage: grepc [<option>]... IDENTIFIER [<file>]...

Also, it's what pcregrep(1) and GNU grep(1) use, so it's good to
use the same syntax here.

Reported-by: наб <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
bin/grepc

index e36c96d24f3fefb2e29cbf4dcca0a1424b12df5a..ad60951e91fb0a0d8c6773e6a682b6070ec0eada 100755 (executable)
--- a/bin/grepc
+++ b/bin/grepc
@@ -2,7 +2,7 @@
 
 
 if [ $# -ne 1 ]; then
-       >&2 echo "Usage: $0 <identifier>";
+       >&2 echo "Usage: $0 IDENTIFIER";
        exit 1;
 fi;