aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-09-25 22:18:56 +0000
committerEric Andersen <andersen@codepoet.org>2006-09-25 22:18:56 +0000
commit3312c989e6a145dc38e5bb874e713aa92b2b0698 (patch)
tree42f2b6e68014cb11c19b8f75e3801db2b46da466
parentd9867320b44dadfb707530eca6a88b5ffceca7ca (diff)
downloadbusybox-3312c989e6a145dc38e5bb874e713aa92b2b0698.tar.gz
fix 'grep -C' which requires an argument
-rw-r--r--findutils/grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/findutils/grep.c b/findutils/grep.c
index 0e0d03f9e..ebd9596e0 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -46,7 +46,7 @@ static invert_search_t invert_search;
#define GREP_OPT_L (1<<12)
#define PRINT_FILES_WITHOUT_MATCHES ((opt & GREP_OPT_L) != 0)
#if ENABLE_FEATURE_GREP_CONTEXT
-#define GREP_OPT_CONTEXT "A:B:C"
+#define GREP_OPT_CONTEXT "A:B:C:"
#define GREP_OPT_A (1<<13)
#define GREP_OPT_B (1<<14)
#define GREP_OPT_C (1<<15)