Lots of changes!
[kai/samba.git] / docs / manpages / smbclient.1
index be3a953266f22e6fbe23072588b10b8f631b435f..e0af67ca1a4a5c85f67983bd8c256423fa4d8118 100644 (file)
@@ -44,8 +44,13 @@ smbclient \- ftp-like Lan Manager client program
 ] [
 .B -p
 .I port number
+] [
+.B -c
+.I command string
+] [
 .B -T
 .I tar options
+] [
 .B -D
 .I initial directory
 ]
@@ -438,6 +443,19 @@ Change to initial directory before starting. Probably only of any use
 with the tar (\-T) option.
 
 
+.RE
+
+.B -c
+.I command string
+
+.RS 3
+
+command string is a semicolon separated list of commands to be
+executed instead of prompting from stdin. -N is implied by -c.
+
+This is particularly useful in scripts and for printing stdin to
+the server, e.g. -c 'print -'.
+
 .RE
 
 .SH OPERATIONS