summaryrefslogtreecommitdiff
path: root/cli/options.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-03 16:38:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-03 16:38:40 +0200
commitc3f214e5f820d298129e558d64c10e8826bf84ef (patch)
treeb165c0680e09475125a4ef896f8c43fb828f076d /cli/options.cxx
parent90a548af2ca2688ccd40531a1b0359ab33ba1324 (diff)
Add --omit-link-check option
Diffstat (limited to 'cli/options.cxx')
-rw-r--r--cli/options.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/cli/options.cxx b/cli/options.cxx
index 823dcd4..1511b1c 100644
--- a/cli/options.cxx
+++ b/cli/options.cxx
@@ -610,6 +610,7 @@ options ()
link_regex_trace_ (),
html_heading_map_ (),
html_heading_map_specified_ (false),
+ omit_link_check_ (),
hxx_prologue_ (),
hxx_prologue_specified_ (false),
ixx_prologue_ (),
@@ -743,6 +744,7 @@ options (int& argc,
link_regex_trace_ (),
html_heading_map_ (),
html_heading_map_specified_ (false),
+ omit_link_check_ (),
hxx_prologue_ (),
hxx_prologue_specified_ (false),
ixx_prologue_ (),
@@ -879,6 +881,7 @@ options (int start,
link_regex_trace_ (),
html_heading_map_ (),
html_heading_map_specified_ (false),
+ omit_link_check_ (),
hxx_prologue_ (),
hxx_prologue_specified_ (false),
ixx_prologue_ (),
@@ -1015,6 +1018,7 @@ options (int& argc,
link_regex_trace_ (),
html_heading_map_ (),
html_heading_map_specified_ (false),
+ omit_link_check_ (),
hxx_prologue_ (),
hxx_prologue_specified_ (false),
ixx_prologue_ (),
@@ -1153,6 +1157,7 @@ options (int start,
link_regex_trace_ (),
html_heading_map_ (),
html_heading_map_specified_ (false),
+ omit_link_check_ (),
hxx_prologue_ (),
hxx_prologue_specified_ (false),
ixx_prologue_ (),
@@ -1287,6 +1292,7 @@ options (::cli::scanner& s,
link_regex_trace_ (),
html_heading_map_ (),
html_heading_map_specified_ (false),
+ omit_link_check_ (),
hxx_prologue_ (),
hxx_prologue_specified_ (false),
ixx_prologue_ (),
@@ -1475,6 +1481,9 @@ print_usage (::std::ostream& os, ::cli::usage_para p)
<< " 'h', and '2') to HTML heading <h> (for example," << ::std::endl
<< " 'h1', 'h2', etc)." << ::std::endl;
+ os << "--omit-link-check Don't check that local fragment link references" << ::std::endl
+ << " (\\l{#ref ...}) resolve to ids." << ::std::endl;
+
os << "--hxx-prologue <text> Insert <text> at the beginning of the generated" << ::std::endl
<< " C++ header file." << ::std::endl;
@@ -1700,6 +1709,8 @@ struct _cli_options_map_init
_cli_options_map_["--html-heading-map"] =
&::cli::thunk< options, std::map<char, std::string>, &options::html_heading_map_,
&options::html_heading_map_specified_ >;
+ _cli_options_map_["--omit-link-check"] =
+ &::cli::thunk< options, bool, &options::omit_link_check_ >;
_cli_options_map_["--hxx-prologue"] =
&::cli::thunk< options, std::vector<std::string>, &options::hxx_prologue_,
&options::hxx_prologue_specified_ >;