grep: Fix -c flag

This commit is contained in:
Michael Forney 2014-11-02 03:08:13 +00:00 committed by sin
parent 1ca8a314f8
commit 6327290cf2
1 changed files with 1 additions and 1 deletions

2
grep.c
View File

@ -42,11 +42,11 @@ main(int argc, char *argv[])
case 'E':
flags |= REG_EXTENDED;
break;
case 'c':
case 'e':
addpattern(EARGF(usage()));
eflag = true;
break;
case 'c':
case 'l':
case 'n':
case 'q':