From a51e4faad87e0b18a14c4cb6c7b5796ad0467c11 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 18 Jan 2016 12:53:31 +0200 Subject: Stop quoting \c in plain text The recommended approach is to quote manually and only values that can be genuinely confused for being part of the text. For example, '-', '/', etc. --- cli/options.cli | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'cli/options.cli') diff --git a/cli/options.cli b/cli/options.cli index 20e1987..26bf834 100644 --- a/cli/options.cli +++ b/cli/options.cli @@ -181,7 +181,7 @@ class options "Use ANSI color escape sequences when printing usage. By \"color\" we really only mean the bold and underline modifiers. Note that Windows console does not recognize ANSI escape sequences and will display - them as garbage. However, if you pipe such output through \c{\b{less}(1)}, + them as garbage. However, if you pipe such output through \cb{less(1)}, it will display them correctly." }; @@ -456,7 +456,7 @@ class options std::string --option-prefix = "-" { "", - "Use instead of the default \cb{-} as an option prefix. Unknown + "Use instead of the default '\cb{-}' as an option prefix. Unknown command line arguments that start with this prefix are treated as unknown options. If you set the option prefix to the empty value, then all the unknown command line arguments will be treated as program arguments." @@ -465,16 +465,16 @@ class options std::string --option-separator = "--" { "", - "Use instead of the default \cb{--} as an optional separator between - options and arguments. All the command line arguments that are parsed - after this separator are treated as program arguments. Set the option - separator to the empty value if you don't want this functionality." + "Use instead of the default '\cb{--}' as an optional separator + between options and arguments. All the command line arguments that are + parsed after this separator are treated as program arguments. Set the + option separator to the empty value if you don't want this functionality." }; bool --include-with-brackets { - "Use angle brackets (<>) instead of quotes (\"\") in the generated - \cb{#include} directives." + "Use angle brackets (\cb{<>}) instead of quotes (\cb{\"\"}) in the + generated \cb{#include} directives." }; std::string --include-prefix -- cgit v1.1