summaryrefslogtreecommitdiff
path: root/grep.c
diff options
context:
space:
mode:
authorMark Whitley2000-06-28 22:59:30 +0000
committerMark Whitley2000-06-28 22:59:30 +0000
commit2e1148b2393b1bcb72804a0c0de1408ca02a0189 (patch)
tree138f84259f7992af7676fe518670e36d36dd7283 /grep.c
parent8bd891cbecb41442daab3496647e09575960056d (diff)
downloadbusybox-2e1148b2393b1bcb72804a0c0de1408ca02a0189.zip
busybox-2e1148b2393b1bcb72804a0c0de1408ca02a0189.tar.gz
Fixed comment.
Diffstat (limited to 'grep.c')
-rw-r--r--grep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/grep.c b/grep.c
index ac55f19..a2e2ff8 100644
--- a/grep.c
+++ b/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 {