diff options
Diffstat (limited to 'doc/html/boost/program_options/command_line_style/style_t.html')
-rw-r--r-- | doc/html/boost/program_options/command_line_style/style_t.html | 40 |
1 files changed, 19 insertions, 21 deletions
diff --git a/doc/html/boost/program_options/command_line_style/style_t.html b/doc/html/boost/program_options/command_line_style/style_t.html index fc85db93dc..26e97b958b 100644 --- a/doc/html/boost/program_options/command_line_style/style_t.html +++ b/doc/html/boost/program_options/command_line_style/style_t.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Type style_t</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../../../program_options/reference.html#header.boost.program_options.cmdline_hpp" title="Header <boost/program_options/cmdline.hpp>"> <link rel="prev" href="../../../program_options/reference.html" title="Reference"> @@ -32,32 +32,32 @@ <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../program_options/reference.html#header.boost.program_options.cmdline_hpp" title="Header <boost/program_options/cmdline.hpp>">boost/program_options/cmdline.hpp</a>> </span> -<span class="keyword">enum</span> <span class="identifier">style_t</span> <span class="special">{</span> <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.allow_long">allow_long</a> = 1, <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.allow_short">allow_short</a> = allow_long << 1, - <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.allow_dash_for_short">allow_dash_for_short</a> = allow_short << 1, - <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.allow_slash_for_short">allow_slash_for_short</a> = allow_dash_for_short << 1, - <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.long_allow_adjacent">long_allow_adjacent</a> = allow_slash_for_short << 1, - <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.long_allow_next">long_allow_next</a> = long_allow_adjacent << 1, - <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.short_allow_adjacent">short_allow_adjacent</a> = long_allow_next << 1, - <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.short_allow_next">short_allow_next</a> = short_allow_adjacent << 1, - <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.allow_sticky">allow_sticky</a> = short_allow_next << 1, - <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.allow_guessing">allow_guessing</a> = allow_sticky << 1, - <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.long_case_insensitive">long_case_insensitive</a> = allow_guessing << 1, - <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.short_case_insensitive">short_case_insensitive</a> = long_case_insensitive << 1, - <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.case_insensitive">case_insensitive</a> = (long_case_insensitive | short_case_insensitive), - <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.allow_long_disguise">allow_long_disguise</a> = short_case_insensitive << 1, - <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.unix_style">unix_style</a> = (allow_short | short_allow_adjacent | short_allow_next +<span class="keyword">enum</span> <span class="identifier">style_t</span> <span class="special">{</span> <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.allow_long">allow_long</a> = = 1, <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.allow_short">allow_short</a> = = allow_long << 1, + <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.allow_dash_for_short">allow_dash_for_short</a> = = allow_short << 1, + <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.allow_slash_for_short">allow_slash_for_short</a> = = allow_dash_for_short << 1, + <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.long_allow_adjacent">long_allow_adjacent</a> = = allow_slash_for_short << 1, + <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.long_allow_next">long_allow_next</a> = = long_allow_adjacent << 1, + <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.short_allow_adjacent">short_allow_adjacent</a> = = long_allow_next << 1, + <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.short_allow_next">short_allow_next</a> = = short_allow_adjacent << 1, + <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.allow_sticky">allow_sticky</a> = = short_allow_next << 1, + <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.allow_guessing">allow_guessing</a> = = allow_sticky << 1, + <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.long_case_insensitive">long_case_insensitive</a> = = allow_guessing << 1, + <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.short_case_insensitive">short_case_insensitive</a> = = long_case_insensitive << 1, + <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.case_insensitive">case_insensitive</a> = = (long_case_insensitive | short_case_insensitive), + <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.allow_long_disguise">allow_long_disguise</a> = = short_case_insensitive << 1, + <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.unix_style">unix_style</a> = = (allow_short | short_allow_adjacent | short_allow_next | allow_long | long_allow_adjacent | long_allow_next | allow_sticky | allow_guessing | allow_dash_for_short), - <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.default_style">default_style</a> = unix_style <span class="special">}</span><span class="special">;</span></pre></div> + <a class="link" href="style_t.html#boost.program_options.command_line_style.style_t.default_style">default_style</a> = = unix_style <span class="special">}</span><span class="special">;</span></pre></div> <div class="refsect1"> -<a name="id2551656"></a><h2>Description</h2> +<a name="idp343532544"></a><h2>Description</h2> <p>Various possible styles of options.</p> <p>There are "long" options, which start with "--" and "short", which start with either "-" or "/". Both kinds can be allowed or disallowed, see allow_long and allow_short. The allowed character for short options is also configurable.</p> <p>Option's value can be specified in the same token as name ("--foo=bar"), or in the next token.</p> <p>It's possible to introduce long options by the same character as short options, see allow_long_disguise.</p> <p>Finally, guessing (specifying only prefix of option) and case insensitive processing are supported. </p> -<div class="variablelist"><dl> +<div class="variablelist"><dl class="variablelist compact"> <dt><span class="term"><code class="computeroutput">allow_long</code><a name="boost.program_options.command_line_style.style_t.allow_long"></a></span></dt> <dd>Allow "--long_name" style. </dd> <dt><span class="term"><code class="computeroutput">allow_short</code><a name="boost.program_options.command_line_style.style_t.allow_short"></a></span></dt> @@ -67,9 +67,7 @@ <dt><span class="term"><code class="computeroutput">allow_slash_for_short</code><a name="boost.program_options.command_line_style.style_t.allow_slash_for_short"></a></span></dt> <dd>Allow "/" in short options. </dd> <dt><span class="term"><code class="computeroutput">long_allow_adjacent</code><a name="boost.program_options.command_line_style.style_t.long_allow_adjacent"></a></span></dt> -<dd><p>Allow option parameter in the same token for long option, like in - --foo=10 - </p></dd> +<dd><p>Allow option parameter in the same token for long option, like in --foo=10 </p></dd> <dt><span class="term"><code class="computeroutput">long_allow_next</code><a name="boost.program_options.command_line_style.style_t.long_allow_next"></a></span></dt> <dd><p>Allow option parameter in the next token for long options. </p></dd> <dt><span class="term"><code class="computeroutput">short_allow_adjacent</code><a name="boost.program_options.command_line_style.style_t.short_allow_adjacent"></a></span></dt> |