]> git.proxmox.com Git - mirror_lxc.git/commitdiff
lxc-attach: add logging option to manpage
authorChristian Brauner <christian.brauner@mailbox.org>
Mon, 11 Apr 2016 16:13:09 +0000 (18:13 +0200)
committerChristian Brauner <christian.brauner@mailbox.org>
Mon, 11 Apr 2016 16:14:16 +0000 (18:14 +0200)
Signed-off-by: Christian Brauner <christian.brauner@mailbox.org>
doc/lxc-attach.sgml.in

index c1937d90bc1818aee7c835ea2c24b3d9a71b1961..2b7203fea98988d9206113e124a7f98af43ced2f 100644 (file)
@@ -58,6 +58,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
       <arg choice="opt">--keep-env</arg>
       <arg choice="opt">--clear-env</arg>
       <arg choice="opt">-- <replaceable>command</replaceable></arg>
+      <arg choice="opt">-L <replaceable>file</replaceable></arg>
     </cmdsynopsis>
   </refsynopsisdiv>
 
@@ -235,6 +236,22 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
        </listitem>
       </varlistentry>
 
+      <varlistentry>
+       <term>
+         <option>-L, --pty-log <replaceable>file</replaceable></option>
+       </term>
+       <listitem>
+         <para>
+       Specify a file where the output of <command>lxc-attach</command> will be
+       logged.
+         </para>
+         <para>
+           <emphasis>Important:</emphasis>  When a standard file descriptor
+           does not refer to a pty ouput produced on it will not be logged.
+         </para>
+       </listitem>
+      </varlistentry>
+
      </variablelist>
 
   </refsect1>