summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-08-17 20:11:12 +0000
committerLuke Leighton <lkcl@samba.org>1999-08-17 20:11:12 +0000
commitfc13cb4086e85af3678e6bf056a51911a7068bbc (patch)
treee5c8a811da5a1a553ae3f4306646be48c689d8fc /source3/rpcclient
parentad000ee7dcf1c9c53f3222cb2e4c933bcc3c27b9 (diff)
downloadsamba-fc13cb4086e85af3678e6bf056a51911a7068bbc.tar.gz
samba-fc13cb4086e85af3678e6bf056a51911a7068bbc.tar.bz2
samba-fc13cb4086e85af3678e6bf056a51911a7068bbc.zip
added some usage info for rpcclient.
(This used to be commit ec11bbaf54764e50687c96ce0979d7aeebe18cb0)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/rpcclient.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 72963222e5..fad55b6314 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -403,11 +403,13 @@ usage on the program
****************************************************************************/
static void usage(char *pname)
{
- fprintf(out_hnd, "Usage: %s service <password> [-d debuglevel] [-l log] ",
+ fprintf(out_hnd, "Usage: %s [service] [-S server] [-d debuglevel] [-l log] ",
pname);
fprintf(out_hnd, "\nVersion %s\n",VERSION);
fprintf(out_hnd, "\t-d debuglevel set the debuglevel\n");
+ fprintf(out_hnd, "\tservice connect to \\\\server\\share \n");
+ fprintf(out_hnd, "\t-S server connect to \\\\server\\IPC$ \n");
fprintf(out_hnd, "\t-l log basename. Basename for log/debug files\n");
fprintf(out_hnd, "\t-n netbios name. Use this name as my netbios name\n");
fprintf(out_hnd, "\t-N don't ask for a password\n");
@@ -415,7 +417,7 @@ static void usage(char *pname)
fprintf(out_hnd, "\t-I dest IP use this IP to connect to\n");
fprintf(out_hnd, "\t-E write messages to stderr instead of stdout\n");
fprintf(out_hnd, "\t-U username set the network username\n");
- fprintf(out_hnd, "\t-W workgroup set the workgroup name\n");
+ fprintf(out_hnd, "\t-W domain set the domain name\n");
fprintf(out_hnd, "\t-c command string execute semicolon separated commands\n");
fprintf(out_hnd, "\t-t terminal code terminal i/o code {sjis|euc|jis7|jis8|junet|hex}\n");
fprintf(out_hnd, "\n");