From b1e412f4dda68f819d2f6b463394df689fd00c4d Mon Sep 17 00:00:00 2001 From: "Gary R. Van Sickle" Date: Fri, 27 Dec 2024 20:46:41 -0600 Subject: [PATCH] Fixed unescaped single quotes and backslash in --null help string. --- src/ArgParse.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ArgParse.cpp b/src/ArgParse.cpp index bf12365..caadb03 100644 --- a/src/ArgParse.cpp +++ b/src/ArgParse.cpp @@ -531,8 +531,8 @@ static const std::array f_raw_options = std::to_array({ { "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