On Thu, 20 Feb 2014, Hiroki Sato wrote:

Allan Jude <free...@allanjude.com> wrote
 in <5305a9a4.1010...@allanjude.com>:

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.)
_______________________________________________
freebsd-doc@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "freebsd-doc-unsubscr...@freebsd.org"

Reply via email to