]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Adapt manpage for lxc-snapshot 646/head
authorChristian Brauner <christianvanbrauner@gmail.com>
Fri, 28 Aug 2015 16:55:29 +0000 (18:55 +0200)
committerChristian Brauner <christianvanbrauner@gmail.com>
Fri, 28 Aug 2015 16:57:49 +0000 (18:57 +0200)
Signed-off-by: Christian Brauner <christianvanbrauner@gmail.com>
doc/lxc-snapshot.sgml.in

index 5c7ea5327378ca166b79508b563b40a5e1e65760..2986a3be52ff2497e79218e23283dc4868811d60 100644 (file)
@@ -67,7 +67,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
       <command>lxc-snapshot</command>
       <arg choice="req">-n, --name <replaceable>name</replaceable></arg>
       <arg choice="req">-r, -restore <replaceable>snapshot-name</replaceable></arg>
-      <arg choice="opt"> <replaceable> newname</replaceable></arg>
+      <arg choice="opt">-N, --newname <replaceable> newname</replaceable></arg>
     </cmdsynopsis>
   </refsynopsisdiv>
 
@@ -127,9 +127,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
          </varlistentry>
 
          <varlistentry>
-           <term> <option>newname</option> </term>
+           <term> <option>-N, --newname</option> </term>
           <listitem>
-           <para> When restoring a snapshot, the last optional argument is the name to use for the restored container.  If no name is given, then the original container will be destroyed and the restored container will take its place.  Note that deleting the original snapshot is not possible in the case of aufs, overlayfs or zfs backed snapshots.</para>
+            <para> When restoring a snapshot, the last optional argument if not given explicitly via <command>--newname</command> is the name to use for the restored container.  If the newname is identical to the original name of the container, then the original container will be destroyed and the restored container will take its place. Note that deleting the original snapshot is not possible in the case of aufs, overlayfs or zfs backed snapshots.</para>
           </listitem>
          </varlistentry>