diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2016-06-17 11:30:27 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2016-06-17 11:30:27 +0000 |
commit | a01b0686cbabaa07150096d3bd6372663b523580 (patch) | |
tree | b1fed3a8965fb26c2a9c05562c16d1e38089255d /doc/pcre2test.txt | |
parent | fe564b54796c9ab092801d60eb56791fe6417589 (diff) | |
download | pcre2-a01b0686cbabaa07150096d3bd6372663b523580.tar.gz |
Return an error code when pcre2_get_error_message() does not recognize an error
code, and add a pcre2test facility for testing this.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@526 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'doc/pcre2test.txt')
-rw-r--r-- | doc/pcre2test.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/pcre2test.txt b/doc/pcre2test.txt index 81913d6..d285a3a 100644 --- a/doc/pcre2test.txt +++ b/doc/pcre2test.txt @@ -138,6 +138,13 @@ COMMAND LINE OPTIONS is done using the pcre2_dfa_match() function instead of the default pcre2_match(). + -error number[,number,...] + Call pcre2_get_error_message() for each of the error numbers + in the comma-separated list, display the resulting messages + on the standard output, then exit with zero exit code. The + numbers may be positive or negative. This is a convenience + facility for PCRE2 maintainers. + -help Output a brief summary these options and then exit. -i Behave as if each pattern has the /info modifier; information @@ -1539,5 +1546,5 @@ AUTHOR REVISION - Last updated: 05 June 2016 + Last updated: 17 June 2016 Copyright (c) 1997-2016 University of Cambridge. |