Debian Codegraph @

ru/refpages/elements/optional/refentry.xml

raw symbols SCIP
1 <refentry id="optional.element">
2 <?dbhtml filename="optional.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>optional</secondary></indexterm>
11 <refentrytitle>optional</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>optional</refname>
16 <refpurpose>&optional.purpose;</refpurpose>
17 </refnamediv>
18
19 &optional.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para>
23 The <sgmltag>Optional</sgmltag> element indicates that a specified argument,
24 option, or other text is optional. The precise meaning of
25 <quote>optional</quote> varies according to the application or process
26 begin documented.
27 </para>
28
29 <refsect2 id="dbreproc.optional"><title>Processing expectations</title>
30 <para>
31 &format.inline;
32 </para>
33 <para>
34 Optional arguments in a <sgmltag>Synopsis</sgmltag> are usually given special
35 typographic treatment, often they are surrounded by square brackets. The
36 <sgmltag>Optional</sgmltag> tag is expected to <emphasis>generate</emphasis> the brackets.
37 </para>
38 <para>
39 Outside a <sgmltag>Synopsis</sgmltag>, the typographic treatment of
40 <sgmltag>Optional</sgmltag> is application-specific.
41 </para>
42 </refsect2>
43
44 <refsect2 role='fu' revision="4.0"><title>&FutureChanges;</title>
45 <para>
46 <!--do not index this occurance-->
47 &fu.interfacedefinition;
48 </para>
49 </refsect2>
50
51
52 &optional.parents.gen;
53 &optional.children.gen;
54 </refsect1>
55 <refsect1 condition='ref.elem.seealso'><title>See Also</title>
56 &optional.seealso.gen;
57 </refsect1>
58 <refsect1><title>Examples</title>
59
60 <para>
61 The &UNIX; <command>ls</command> command could be documented as follows:
62 </para>
63
64 <informalexample role="example-source">
65 <programlisting>&optional.example.1.txt;</programlisting>
66 </informalexample>
67
68 <anchor id="ex.os.optional.1" role="HACK-ex.out.start"/>
69 &optional.example.1.gen;
70 <anchor id="ex.oe.optional.1" role="HACK-ex.out.end"/>
71
72 <para>
73 which might generate the following output:
74 <screen>
75 ls [ -abcCdfFgilLmnopqrRstux1 ]
76 [names]
77 </screen>
78 </para>
79
80 &optional.example.seealso.gen;
81 </refsect1>
82 </refentry>
83