fix 'grep -C' which requires an argument 1_00_stable
authorEric Andersen <andersen@codepoet.org>
Mon, 25 Sep 2006 22:27:20 +0000 (22:27 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 25 Sep 2006 22:27:20 +0000 (22:27 -0000)
findutils/grep.c

index a8fd2d41abb59e7394a38c888e88386b3ffd294a..af613d6dfcb6676f332268c17623cf83a955f084 100644 (file)
@@ -58,7 +58,7 @@ static char fgrep_flag;
 #define GREP_OPT_L (1<<12)
 static char print_files_without_matches;
 #ifdef CONFIG_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)