Commit b4578c5b by Dwight Engen Committed by Stéphane Graber

lxc-doc-synopsis-args

I was getting raw nroff ".SH DESCRIPTION" in my man pages. This fixes the synopsis cmd args so that doesn't happen. Added replaceable to a few arguments. Signed-off-by: 's avatarDwight Engen <dwight.engen@oracle.com>
parent b97b78ab
...@@ -47,10 +47,13 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -47,10 +47,13 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis><command>lxc-attach <replaceable>-n <cmdsynopsis>
name</replaceable> <optional>-a <command>lxc-attach</command>
arch</optional> <optional>-e</optional> <arg choice="req">-n <replaceable>name</replaceable></arg>
<optional>-- command</optional></command></cmdsynopsis> <arg choice="opt">-a <replaceable>arch</replaceable></arg>
<arg choice="opt">-e</arg>
<arg choice="opt">-- <replaceable>command</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<refsect1> <refsect1>
......
...@@ -48,9 +48,10 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -48,9 +48,10 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-cgroup -n <replaceable>name</replaceable> <command>lxc-cgroup</command>
<replaceable>state-object</replaceable> <optional>value</optional> <arg choice="req">-n <replaceable>name</replaceable></arg>
</command> <arg choice="req"><replaceable>state-object</replaceable></arg>
<arg choice="opt">value</arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -49,10 +49,10 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -49,10 +49,10 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-checkpoint <command>lxc-checkpoint</command>
--statefile=<replaceable>FILE</replaceable> <arg choice="req">--statefile=<replaceable>FILE</replaceable></arg>
--statefd=<replaceable>FD</replaceable> <arg choice="req">--statefd=<replaceable>FD</replaceable></arg>
--name=<replaceable>NAME</replaceable> </command> <arg choice="req">--name=<replaceable>NAME</replaceable></arg>
<arg><option>-k</option>|<option>-p</option></arg> <arg><option>-k</option>|<option>-p</option></arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -48,9 +48,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -48,9 +48,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-console <replaceable>-n name</replaceable> <command>lxc-console</command>
<optional>-t ttynum</optional> <arg choice="req">-n <replaceable>name</replaceable></arg>
</command> <arg choice="opt">-t <replaceable>ttynum</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -84,7 +84,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -84,7 +84,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<varlistentry> <varlistentry>
<term> <term>
<option>-t <optional>ttynum</optional></option> <option>-t <optional><replaceable>ttynum</replaceable></optional></option>
</term> </term>
<listitem> <listitem>
<para> <para>
......
...@@ -48,12 +48,12 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -48,12 +48,12 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-create <replaceable>-n name</replaceable> <command>lxc-create</command>
<optional>-f config_file</optional> <arg choice="req">-n <replaceable>name</replaceable></arg>
<optional>-t template</optional> <arg choice="opt">-f <replaceable>config_file</replaceable></arg>
<optional>-B backingstore</optional> <arg choice="opt">-t <replaceable>template</replaceable></arg>
<optional>-- template-options</optional> <arg choice="opt">-B <replaceable>backingstore</replaceable></arg>
</command> <arg choice="opt">-- <replaceable>template-options</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -48,10 +48,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -48,10 +48,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-destroy <replaceable>-n <command>lxc-destroy</command>
name</replaceable> <arg choice="req">-n <replaceable>name</replaceable></arg>
<optional>-f</optional> <arg choice="opt">-f</arg>
</command>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -48,11 +48,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -48,11 +48,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-execute <replaceable>-n name</replaceable> <command>lxc-execute</command>
<optional>-f config_file</optional> <optional>-s KEY=VAL <arg choice="req">-n <replaceable>name</replaceable></arg>
</optional> <arg choice="opt">-f <replaceable>config_file</replaceable></arg>
<optional>--</optional> <arg choice="opt">-s KEY=VAL</arg>
<replaceable>command</replaceable></command> <arg choice="opt">-- <replaceable>command</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -48,8 +48,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -48,8 +48,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-freeze <replaceable>-n name</replaceable> <command>lxc-freeze</command>
</command> <arg choice="req">-n <replaceable>name</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -49,7 +49,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -49,7 +49,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-kill --name=<replaceable>NAME</replaceable> <replaceable>SIGNUM</replaceable></command> <command>lxc-kill</command>
<arg choice="req">--name=<replaceable>NAME</replaceable></arg>
<arg choice="req"><replaceable>SIGNUM</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -48,8 +48,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -48,8 +48,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-ls <optional>--active</optional> <optional>ls option</optional> <command>lxc-ls</command>
</command> <arg choice="opt">--active</arg>
<arg choice="opt">ls option</arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -48,8 +48,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -48,8 +48,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-monitor <replaceable>-n name</replaceable> <command>lxc-monitor</command>
</command> <arg choice="req">-n <replaceable>name</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -48,10 +48,10 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -48,10 +48,10 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-ps <optional>--name name</optional> <command>lxc-ps</command>
<optional>--lxc</optional> <arg choice="opt">--name <replaceable>name</replaceable></arg>
<optional>ps option</optional> <arg choice="opt">--lxc</arg>
</command> <arg choice="opt">ps option</arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -81,11 +81,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -81,11 +81,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<varlistentry> <varlistentry>
<term> <term>
<option><replaceable>--name NAME</replaceable></option> <option>--name <replaceable>name</replaceable></option>
</term> </term>
<listitem> <listitem>
<para> <para>
specify the container <replaceable>NAME</replaceable> specify the container <replaceable>name</replaceable>
to limit the output to the processes belonging to limit the output to the processes belonging
to this container name. to this container name.
</para> </para>
...@@ -94,7 +94,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -94,7 +94,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<varlistentry> <varlistentry>
<term> <term>
<option><replaceable>--lxc</replaceable></option> <option>--lxc</option>
</term> </term>
<listitem> <listitem>
<para> <para>
......
...@@ -49,11 +49,12 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -49,11 +49,12 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-restart <optional>-f <command>lxc-restart</command>
config_file</optional><optional>-s KEY=VAL</optional> <arg choice="opt">-f <replaceable>config_file</replaceable></arg>
--statefile=<replaceable>FILE</replaceable> <arg choice="opt">-s KEY=VAL</arg>
--statefd=<replaceable>FD</replaceable></command> <arg choice="req">--statefile=<replaceable>FILE</replaceable></arg>
<arg choice="req"><option>--name=<replaceable>NAME</replaceable></option></arg> <arg choice="req">--statefd=<replaceable>FD</replaceable></arg>
<arg choice="req">--name=<replaceable>NAME</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -45,9 +45,10 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -45,9 +45,10 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-shutdown <replaceable>-n name</replaceable> <command>lxc-shutdown</command>
<optional>-w</optional> <optional>-r</optional> <arg choice="req">-n <replaceable>name</replaceable></arg>
</command> <arg choice="opt">-w</arg>
<arg choice="opt">-r</arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -47,12 +47,16 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -47,12 +47,16 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis><command>lxc-start <replaceable>-n <cmdsynopsis>
name</replaceable> <optional>-f <command>lxc-start</command>
config_file</optional> <optional>-c <arg choice="req">-n <replaceable>name</replaceable></arg>
console_file</optional> <optional>-d</optional> <optional>-s <arg choice="opt">-f <replaceable>config_file</replaceable></arg>
KEY=VAL</optional> <optional>-C</optional> <arg choice="opt">-c <replaceable>console_file</replaceable></arg>
<optional>command</optional></command></cmdsynopsis> <arg choice="opt">-d</arg>
<arg choice="opt">-s KEY=VAL</arg>
<arg choice="opt">-C</arg>
<arg choice="opt">command</arg>
</cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<refsect1> <refsect1>
......
...@@ -48,8 +48,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -48,8 +48,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-stop <replaceable>-n name</replaceable> <command>lxc-stop</command>
</command> <arg choice="req">-n <replaceable>name</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -48,8 +48,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -48,8 +48,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-unfreeze <replaceable>-n name</replaceable> <command>lxc-unfreeze</command>
</command> <arg choice="req">-n <replaceable>name</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -49,9 +49,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -49,9 +49,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-wait <replaceable>-n name</replaceable> <command>lxc-wait</command>
<replaceable>-s states</replaceable> <arg choice="req">-n <replaceable>name</replaceable></arg>
</command> <arg choice="req">-s <replaceable>states</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment