mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
Fixed comment.
This commit is contained in:
parent
8bd891cbec
commit
2e1148b239
@ -165,8 +165,8 @@ extern int grep_main(int argc, char **argv)
|
||||
if ((argc-1) - (optind+1) > 0)
|
||||
print_filename++;
|
||||
|
||||
/* If no files were specified, take input from stdin. Otherwise, we grep
|
||||
* through all the files specified. */
|
||||
/* If no files were specified, or '-' was specified, take input from
|
||||
* stdin. Otherwise, we grep through all the files specified. */
|
||||
if (argv[optind+1] == NULL || (strcmp(argv[optind+1], "-") == 0)) {
|
||||
grep_file(stdin);
|
||||
} else {
|
||||
|
4
grep.c
4
grep.c
@ -165,8 +165,8 @@ extern int grep_main(int argc, char **argv)
|
||||
if ((argc-1) - (optind+1) > 0)
|
||||
print_filename++;
|
||||
|
||||
/* If no files were specified, take input from stdin. Otherwise, we grep
|
||||
* through all the files specified. */
|
||||
/* If no files were specified, or '-' was specified, take input from
|
||||
* stdin. Otherwise, we grep through all the files specified. */
|
||||
if (argv[optind+1] == NULL || (strcmp(argv[optind+1], "-") == 0)) {
|
||||
grep_file(stdin);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user