From a22e3dc68dd88eb047bfd9716e5cb780c95a3cea Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 1 Feb 2016 12:08:06 +0200 Subject: Add support for link transformation (--link-regex) --- cli/options.cli | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'cli/options.cli') diff --git a/cli/options.cli b/cli/options.cli index 26bf834..8a4a3e0 100644 --- a/cli/options.cli +++ b/cli/options.cli @@ -234,6 +234,28 @@ class options \c{\"\\=\"} syntax." }; + std::vector --link-regex + { + "", + "Add to the list of regular expressions used to transform link + targets in the generated documentation. The argument to this option + is a Perl-like regular expression in the form + \c{\b{/}\i{pattern}\b{/}\i{replacement}\b{/}}. Any character can be + used as a delimiter instead of '\cb{/}' and the delimiter can be escaped + inside \ci{pattern} and \ci{replacement} with a backslash (\cb{\\}). + You can specify multiple regular expressions by repeating this option. + All the regular expressions are tried in the order specified and the + first expression that matches is used. Use the \cb{--link-regex-trace} + option to debug link transformation." + }; + + bool --link-regex-trace + { + "Trace the process of applying regular expressions specified with the + \cb{--link-regex} option. Use this option to find out why your regular + expressions don't do what you expected them to do." + }; + // Prologues. // std::vector --hxx-prologue -- cgit v1.1