On Thu, 20 Feb 2014, Hiroki Sato wrote:

Allan Jude <[email protected]> wrote
 in <[email protected]>:

fr> It also fixes a paragraph that someone else wrote, that Warren had
fr> pointed out made no sense.
fr>
fr> Also adds some missing <acronym> tags, and replace all of the
fr> <userinput> tags that are actually commands with <command>

-    <screen>&prompt.root; <userinput>service zfs start</userinput></screen>
+    <screen>&prompt.root; <command>service zfs start</command></screen>

<userinput> is correct here.  <command> is for the name of an
executable program or command, not a command line.

Yes. Although <command> is sometimes used for short inline commands that are a bit more than a simple command name:

  <para>Files beginning with the letter "A" can be listed with
    <command>ls A*</command>.  More detailed searches can be done with
    <command>find</command>:</para>

  <screen>&prompt.user; <userinput>find /usr/ports -name 
Makefile</userinput></screen>

There are some examples in the FDP Primer:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/book.html#idp66516784

(Although they also show <prompt>, which I don't recall seeing used anywhere else in our docs and am pretty sure I've never used myself.)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"

Reply via email to