| 1 | <refentry id="option.element"> |
| 2 | <?dbhtml filename="option.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>option</secondary></indexterm> |
| 11 | <refentrytitle>option</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>option</refname> |
| 16 | <refpurpose>&option.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &option.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | <sgmltag>Option</sgmltag> identifies an optional argument to a software command. |
| 24 | </para> |
| 25 | |
| 26 | <refsect2 id="dbreproc.option"><title>Processing expectations</title> |
| 27 | <para> |
| 28 | &format.inline; |
| 29 | </para> |
| 30 | <para> |
| 31 | DocBook does not specify whether or not a symbol (such as |
| 32 | <literal>-</literal> or <literal>/</literal>) is generated before the content |
| 33 | of <sgmltag>Option</sgmltag>, or what that symbol might be. Generating |
| 34 | the text may or may not be desirable, but in either case, it is |
| 35 | an interchange issue. See <xref linkend="app-interchange"/>. |
| 36 | </para> |
| 37 | </refsect2> |
| 38 | |
| 39 | <refsect2 role='fu' revision="4.0"><title>&FutureChanges;</title> |
| 40 | <para> |
| 41 | <indexterm><primary>DocBook DTD</primary><secondary>Changes for <acronym>V4.0</acronym></secondary> |
| 42 | </indexterm> |
| 43 | The content model of <sgmltag>Option</sgmltag> will be constrained to |
| 44 | <literal>(#PCDATA | Replaceable | InlineGraphic)</literal> in |
| 45 | DocBook <acronym>V4.0</acronym>. |
| 46 | </para> |
| 47 | </refsect2> |
| 48 | |
| 49 | |
| 50 | &option.parents.gen; |
| 51 | &option.children.gen; |
| 52 | </refsect1> |
| 53 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 54 | &option.seealso.gen; |
| 55 | </refsect1> |
| 56 | <refsect1><title>Examples</title> |
| 57 | |
| 58 | <informalexample role="example-source"> |
| 59 | <programlisting>&option.example.1.txt;</programlisting> |
| 60 | </informalexample> |
| 61 | |
| 62 | <anchor id="ex.os.option.1" role="HACK-ex.out.start"/> |
| 63 | &option.example.1.gen; |
| 64 | <anchor id="ex.oe.option.1" role="HACK-ex.out.end"/> |
| 65 | |
| 66 | &option.example.seealso.gen; |
| 67 | </refsect1> |
| 68 | </refentry> |
| 69 |