<option>

The <option> element describes an option that can be used to modify a command (or something else, like a configuration). This element is part of the DITA programming domain, a special set of DITA elements designed to document programming tasks, concepts, and reference information.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

+ topic/keyword pr-d/option

Example

This section is non-normative.

something <option>/modifier</option>

Content model

(Text | <text>)*

Contained by

<synph>

Zero or more of the following
  • Text
  • <text>

Contained by

  • <synph>

Inheritance

+ topic/keyword pr-d/option

The <option> element is specialized from <keyword>. It is defined in the pr-domain module.

Attributes

The following attributes are available on this element: Universal attribute group, outputclass, and @keyref.