]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
grepc: srcfix
authorAlejandro Colomar <alx.manpages@gmail.com>
Mon, 16 May 2022 14:18:31 +0000 (16:18 +0200)
committerAlejandro Colomar <alx@kernel.org>
Wed, 29 Oct 2025 20:29:03 +0000 (21:29 +0100)
Sort alphabetically the optstring.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
bin/grepc

index 55758fd143117413f5119359093024265c672fbc..2cca254a236a92f608a0b013777210e5c280ce04 100755 (executable)
--- a/bin/grepc
+++ b/bin/grepc
@@ -32,7 +32,7 @@ grepc_usage()
 
 grepc_parse_cmd()
 {
-       while getopts "lghkt:x:" opt; do
+       while getopts "ghklt:x:" opt; do
                case "$opt" in
                g)
                        git='yes';