There's already a manual page, and the short help from -h was quite
unhelpful. I want to reuse -h for grep(1)'s meaning (don't print the
filename).
Signed-off-by: Alejandro Colomar <alx@kernel.org>
grepc_parse_cmd()
{
- while getopts "chiklt:" opt; do
+ while getopts "ciklt:" opt; do
case "$opt" in
c)
c='yes';
;;
- h)
- echo "Usage: $0 [OPTION ...] IDENTIFIER [FILE ...]";
- exit 0;
- ;;
i)
i='i';
;;
.RB ( u\fI*\fP )
are highlighted.
.TP
-.B \-h
-Output a help message and exit.
-.TP
.B \-i
Ignore case distinctions in
.IR pattern .