|
|
|||||||||||||||||||||||
![]() |
![]() |
||||||||||||||||||||||
|
|
|||||||||||||||||||||||
![]() |
|||||||||||||||||||||||
|
|
|||||||||||||||||||||||
|
|
|
|
|||||||||||||||||||||
|
|
|||||||||||||||||||||||
|
|
|
|
|||||||||||||||||||||
|
cmdsynopsis$Revision: 1.3 $ $Date: 2002/06/12 11:18:04 $ cmdsynopsis — A syntax summary for a software command SynopsisContent Modelcmdsynopsis ::= ((command|arg|group|sbr)+, synopfragment*) Attributes
DescriptionA CmdSynopsis summarizes the options and parameters of a command started from a text prompt. This is usually a program started from the DOS, Windows, or UNIX shell prompt. CmdSynopsis operates under the following general model: commands have arguments, that may be grouped; arguments and groups may be required or optional and may be repeated. Processing expectationsThe processing expectations of CmdSynopsis are fairly complex.
ParentsThese elements contain cmdsynopsis: answer, appendix, application, article, attribution, bibliodiv, bibliography, bibliomisc, blockquote, callout, caution, chapter, citation, citetitle, constraintdef, emphasis, entry, example, figure, firstterm, footnote, foreignphrase, glossary, glossdef, glossdiv, glosssee, glossseealso, glossterm, important, index, indexdiv, informalexample, informalfigure, itemizedlist, lineannotation, link, listitem, literallayout, lotentry, member, msgaud, msgexplan, msgtext, note, olink, orderedlist, para, partintro, phrase, preface, procedure, productname, programlisting, qandadiv, qandaset, question, quote, refentrytitle, refsect1, refsect2, refsect3, refsection, refsynopsisdiv, remark, revdescription, screen, screeninfo, sect1, sect2, sect3, sect4, sect5, section, seg, setindex, sidebar, simpara, simplesect, step, synopsis, taskprerequisites, taskrelated, tasksummary, td, term, th, tip, tocback, tocentry, tocfront, ulink, variablelist, warning. Attributes
Examples<!DOCTYPE cmdsynopsis PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<cmdsynopsis>
<command>cd</command>
<arg choice='req'><replaceable>directory</replaceable></arg>
</cmdsynopsis>cd {directory} <!DOCTYPE cmdsynopsis PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<cmdsynopsis>
<command>cal</command>
<arg>-j</arg>
<arg>-y</arg>
<arg>month <arg>year</arg></arg>
</cmdsynopsis>cal [-j] [-y] [month [year]] <!DOCTYPE cmdsynopsis PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<cmdsynopsis>
<command>chgrp</command>
<arg>-R
<group>
<arg>-H</arg>
<arg>-L</arg>
<arg>-P</arg>
</group>
</arg>
<arg>-f</arg>
<arg choice='plain'><replaceable>group</replaceable></arg>
<arg rep='repeat' choice='plain'><replaceable>file</replaceable></arg>
</cmdsynopsis>chgrp [-R [[-H] | [-L] | [-P]] ] [-f] group file... <!DOCTYPE cmdsynopsis PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<cmdsynopsis>
<command>emacs</command>
<arg>-t <replaceable>file</replaceable></arg>
<arg>-q</arg>
<arg>-u <replaceable>user</replaceable></arg>
<arg>+<replaceable>number</replaceable></arg>
<arg rep='repeat'>-f <replaceable>function</replaceable></arg>
<sbr/>
<arg rep='repeat'>-l <replaceable>file</replaceable></arg>
<arg rep='repeat' choice='plain'><replaceable>file</replaceable></arg>
</cmdsynopsis>emacs [-t file] [-q] [-u user] [+number] [-f function...] Note the use of SBR in this example to force line breaks at reasonable places in the synopsis. For additional examples, see also refentry, synopfragment.
|
|
|||||||||||||||||||||
|
|
|||||||||||||||||||||||
|
Marketplace: | |||||||||||||||||||||||
| " National Cyber Security Alliance’s study of May 2003 reported that 91% of Broadband users have spyware on their home computers running proprietary operating systems; in contrast, there’s no evidence of that this is an issue for OSS/FS systems. " | |||||||||||||||||||||||