From 5d5817c2a3d21e91db4eaaf607ff881d71b57638 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 19 May 2021 21:58:54 -0700 Subject: Fancier string escape sequences and a bit of cleanup. --- bp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bp.c') diff --git a/bp.c b/bp.c index 7899ff0..b01c5b4 100644 --- a/bp.c +++ b/bp.c @@ -36,7 +36,7 @@ static const char *description = ( BP_NAME" - a Parsing Expression Grammar command line tool"); static const char *usage = ( "Usage:\n" - " "BP_NAME" [flags] [...]\n\n" + " "BP_NAME" [flags] [...]\n\n" "Flags:\n" " -h --help print the usage and quit\n" " -v --verbose print verbose debugging info\n" @@ -48,10 +48,10 @@ static const char *usage = ( " -l --list-files list filenames only\n" " -p --pattern provide a pattern (equivalent to bp '\\()')\n" " -r --replace replace the input pattern with the given replacement\n" - " -s --skip skip over the given pattern when looking for matches\n" + " -s --skip skip over the given pattern when looking for matches\n" " -c --context set number of lines of context to print (all: the whole file, 0: only the match, 1: the line, N: N lines of context)\n" " -f --format auto|fancy|plain set the output format\n" - " -g --grammar use the specified file as a grammar"); + " -g --grammar use the specified file as a grammar"); // Used as a heuristic to check if a file is binary or text: #define CHECK_FIRST_N_BYTES 128 -- cgit v1.2.3