summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2010-04-20 12:32:22 +0200
committerPaolo Bonzini <bonzini@gnu.org>2010-04-20 14:05:29 +0200
commit0a7b816b088a3a6ddc9a90cfcb728757593fb442 (patch)
tree594114f1853cf652dd40282e15ec350a50e7e5f9 /src/main.c
parentb464ff9368acc72fdbe4cb749786028e78a66299 (diff)
downloadgrep-0a7b816b088a3a6ddc9a90cfcb728757593fb442.tar.gz
grep: fix --mmap not being ignored
* NEWS: Document bugfix. * main.c (main): Ignore MMAP_OPTION.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index aa3819cc..4c7c0e33 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2069,6 +2069,7 @@ main (int argc, char **argv)
label = optarg;
break;
+ case MMAP_OPTION:
case 0:
/* long options */
break;