diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-09-13 16:13:01 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-09-13 16:13:01 -0700 |
| commit | c589b46b4fcc442dc8558b4d62060abb17ec20eb (patch) | |
| tree | 03e71a9799c5d53e9b9c118422f3cf56fd850b8c /bpeg.c | |
| parent | 87430957089fb09911a84d49dffeca71597e50a7 (diff) | |
Updated usage
Diffstat (limited to 'bpeg.c')
| -rw-r--r-- | bpeg.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -50,8 +50,11 @@ static const char *usage = ( "Flags:\n" " -h --help\t print the usage and quit\n" " -v --verbose\t print verbose debugging info\n" - " -d --define <name>=<def> Define a grammar rule\n" + " -d --define <name>=<def> define a grammar rule\n" + " -e --escaped <pat>\t provide an escaped pattern (equivalent to bpeg '\\(<pat>)')\n" + " -s --string <pat>\t provide a string pattern (equivalent to bpeg '<pat>', but may be useful if '<pat>' begins with a '-')\n" " -r --replace <replacement> replace the input pattern with the given replacement\n" + " -m --mode <mode>\t set the behavior mode (defult: find-all)\n" " -g --grammar <grammar file> use the specified file as a grammar\n"); static char *getflag(const char *flag, char *argv[], int *i) |
