summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2012-11-29 12:22:48 +0100
committerAndreas Schneider <asn@samba.org>2012-11-29 13:39:53 +0100
commit21bd2787ae2a8864f0661b102d53bd102dbfd9f6 (patch)
treec47f7fb1292271bdc853971aa5009a4180bdfae2 /source3
parent27d23dd3a94e4c870ac5f2c696b4da0e3829c109 (diff)
downloadsamba-21bd2787ae2a8864f0661b102d53bd102dbfd9f6.tar.gz
samba-21bd2787ae2a8864f0661b102d53bd102dbfd9f6.tar.bz2
samba-21bd2787ae2a8864f0661b102d53bd102dbfd9f6.zip
rpcclient: fix usage docs for rpcclient adddriver
The printer driver name is incorrectly referred to as the printer name. Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/rpcclient/cmd_spoolss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c
index b189fd7379..c3ac21172e 100644
--- a/source3/rpcclient/cmd_spoolss.c
+++ b/source3/rpcclient/cmd_spoolss.c
@@ -1629,7 +1629,7 @@ static char *get_driver_3_param(TALLOC_CTX *mem_ctx, char *str,
/********************************************************************************
fill in the members of a spoolss_AddDriverInfo3 struct using a character
string in the form of
- <Long Printer Name>:<Driver File Name>:<Data File Name>:\
+ <Long Driver Name>:<Driver File Name>:<Data File Name>:\
<Config File Name>:<Help File Name>:<Language Monitor Name>:\
<Default Data Type>:<Comma Separated list of Files>
*******************************************************************************/
@@ -1710,7 +1710,7 @@ static WERROR cmd_spoolss_addprinterdriver(struct rpc_pipe_client *cli,
if (argc != 3 && argc != 4)
{
printf ("Usage: %s <Environment> \\\n", argv[0]);
- printf ("\t<Long Printer Name>:<Driver File Name>:<Data File Name>:\\\n");
+ printf ("\t<Long Driver Name>:<Driver File Name>:<Data File Name>:\\\n");
printf ("\t<Config File Name>:<Help File Name>:<Language Monitor Name>:\\\n");
printf ("\t<Default Data Type>:<Comma Separated list of Files> \\\n");
printf ("\t[version]\n");