DocBook Slides: The Definitive Guide (Version 0.9.1 for DocBook Slides 5.2b09a) |
option
option — An option for a software command.
Description
An option
identifies an argument to a software
command or instruction. Options may or may not be required.
Processing expectations
Formatted inline.
DocBook does not specify whether or not a symbol (such as
-
or /
) is generated before the
content of option
, or what that symbol might be. Generating
the text may or may not be desirable, but in either case, it is an
interchange issue. See Appendix C, Interchanging DocBook Documents.
Parents
These elements contain option
: caption
(db.html.caption), citetitle
, computeroutput
, emphasis
, entry
, link
, literallayout
, orgdiv
, para
, phrase
(db.phrase), programlisting
, quote
, subtitle
, td
, term
, th
, title
, titleabbrev
, userinput
.
Children
The following elements occur in option: text, inlinemediaobject
, phrase
(db._phrase), replaceable
, subscript
, superscript
.
Examples
<article xmlns='http://docbook.org/ns/docbook'>
<title>Example option</title>
<para>The <option>-a</option> option on the <acronym>UNIX</acronym>
<command>ls</command> command or the <option>/r</option> option on the
<acronym>DOS</acronym> <command>attrib</command>
command, for example.
</para>
</article>
The -a
option on the UNIX
ls command or the /r
option on the
DOS attrib
command, for example.