From c589b46b4fcc442dc8558b4d62060abb17ec20eb Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 13 Sep 2020 16:13:01 -0700 Subject: Updated usage --- bpeg.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bpeg.c b/bpeg.c index 5204d98..95f133c 100644 --- a/bpeg.c +++ b/bpeg.c @@ -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 = Define a grammar rule\n" + " -d --define = define a grammar rule\n" + " -e --escaped \t provide an escaped pattern (equivalent to bpeg '\\()')\n" + " -s --string \t provide a string pattern (equivalent to bpeg '', but may be useful if '' begins with a '-')\n" " -r --replace replace the input pattern with the given replacement\n" + " -m --mode \t set the behavior mode (defult: find-all)\n" " -g --grammar use the specified file as a grammar\n"); static char *getflag(const char *flag, char *argv[], int *i) -- cgit v1.2.3