optional

optional — Optional information.

Synopsis

optional ::= [-]

Description

The optional element indicates that a specified argument, option, or other text is optional. The precise meaning of “optional” varies according to the application or process being documented.

Processing expectations

Formatted inline.

Optional arguments in a synopsis are usually given special typographic treatment, and often they are surrounded by square brackets. The optional tag is expected to generate the brackets.

Outside a synopsis, the typographic treatment of optional is application specific.

Children [+]

This element contains 29 elements.

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example optional</title>

<synopsis>
ls <option>-abcCdfFgilLmnopqrRstux1</option>
   <optional>names</optional>
</synopsis>

</article>
ls -abcCdfFgilLmnopqrRstux1
   names
Last revised by Norman Walsh on (git hash: 7cf44d0f3aa4244c54913b42ac9cc634bd9b7fc9 6ffcc7640bbc5f852a318e452c9f210f03292cb9)