Skip to content

Commit

Permalink
Fixed unescaped single quotes and backslash in --null help string.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary R. Van Sickle committed Dec 28, 2024
1 parent cdb270c commit b1e412f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ArgParse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -531,8 +531,8 @@ static const std::array f_raw_options = std::to_array<PreDescriptor>({
{ "File presentation:" },
{ OPT_COLOR, ENABLE, "", "color,colour", Arg::None, "Render the output with ANSI color codes."},
{ OPT_COLOR, DISABLE, "", "nocolor,nocolour", Arg::None, "Render the output without ANSI color codes."},
{ OPT_NULLSEP, ENABLE, "", "null", Arg::None,
"Print a zero character '\0' instead of a colon ':' after a file name."},
{ OPT_NULLSEP, ENABLE, "", "null", Arg::None,
"Print a zero character \'\\0\' instead of a colon \':\' after a file name."},
{ "File/directory inclusion/exclusion:" },
{ OPT_IGNORE_DIR, ENABLE, DISABLE, "", "[no]ignore-dir,[no]ignore-directory", "NAME", Arg::NonEmpty, "[Do not] exclude directories with NAME."},
// grep-style --include=glob and --exclude=glob
Expand Down

0 comments on commit b1e412f

Please sign in to comment.