manpages: update smbclient manpage with rename -f option
authorUri Simchoni <uri@samba.org>
Tue, 21 Mar 2017 21:56:35 +0000 (23:56 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 28 Mar 2017 15:45:19 +0000 (17:45 +0200)
Document the -f option of the rename command.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
docs-xml/manpages/smbclient.1.xml

index c8f4e40b0429300a8c69223a3072a6c407f9c00a..059e14c18562719ec95ebd3bfa7683d999ba2d45 100644 (file)
                </varlistentry>
 
                <varlistentry>
-               <term>rename &lt;old filename&gt; &lt;new filename&gt;</term>
+               <term>rename &lt;old filename&gt; &lt;new filename&gt; [-f]</term>
                <listitem><para>Rename files in the current working directory on the
                server from <replaceable>old filename</replaceable> to
-               <replaceable>new filename</replaceable>. </para></listitem>
+               <replaceable>new filename</replaceable>. The optional
+               -f switch is supported only by SMB2 protocol and beyond,
+               and allows for superseding the destination file,
+               if it exists.</para></listitem>
                </varlistentry>
 
                <varlistentry>