[Pcre-svn] [646] code/trunk: Fix typo in error message in pc…

トップ ページ
このメッセージを削除
著者: Subversion repository
日付:  
To: pcre-svn
題目: [Pcre-svn] [646] code/trunk: Fix typo in error message in pcregrep.
Revision: 646
          http://vcs.pcre.org/viewvc?view=rev&revision=646
Author:   ph10
Date:     2011-08-01 10:54:26 +0100 (Mon, 01 Aug 2011)


Log Message:
-----------
Fix typo in error message in pcregrep.

Modified Paths:
--------------
    code/trunk/pcregrep.c
    code/trunk/testdata/grepoutput


Modified: code/trunk/pcregrep.c
===================================================================
--- code/trunk/pcregrep.c    2011-07-31 17:02:18 UTC (rev 645)
+++ code/trunk/pcregrep.c    2011-08-01 09:54:26 UTC (rev 646)
@@ -1111,7 +1111,7 @@
   if (endlinelength == 0 && t == main_buffer + bufsize)
     {
     fprintf(stderr, "pcregrep: line %d%s%s is too long for the internal buffer\n"
-                    "pcregrep: check the --buffer_size option\n",
+                    "pcregrep: check the --buffer-size option\n",
                     linenumber, 
                     (filename == NULL)? "" : " of file ",
                     (filename == NULL)? "" : filename);


Modified: code/trunk/testdata/grepoutput
===================================================================
--- code/trunk/testdata/grepoutput    2011-07-31 17:02:18 UTC (rev 645)
+++ code/trunk/testdata/grepoutput    2011-08-01 09:54:26 UTC (rev 646)
@@ -636,5 +636,5 @@
 RC=0
 ---------------------------- Test 83 -----------------------------
 pcregrep: line 4 of file ./testdata/grepinput3 is too long for the internal buffer
-pcregrep: check the --buffer_size option
+pcregrep: check the --buffer-size option
 RC=2