rpcclient: fix usage docs for rpcclient adddriver
authorDavid Disseldorp <ddiss@samba.org>
Thu, 29 Nov 2012 11:22:48 +0000 (12:22 +0100)
committerAndreas Schneider <asn@samba.org>
Thu, 29 Nov 2012 12:39:53 +0000 (13:39 +0100)
The printer driver name is incorrectly referred to as the printer name.

Reviewed-by: Andreas Schneider <asn@samba.org>
docs-xml/manpages/rpcclient.1.xml
source3/rpcclient/cmd_spoolss.c

index 8d08d27bf586c12ab2bb2e4710e2a648e6be35df..fb71568acd1f021a9b655f36a37e1edbb57ab503 100644 (file)
                follows: </para>
                
 <para><programlisting>
                follows: </para>
                
 <para><programlisting>
-Long Printer Name:\
+Long Driver Name:\
 Driver File Name:\
 Data File Name:\
 Config File Name:\
 Driver File Name:\
 Data File Name:\
 Config File Name:\
index b189fd7379ec6ac12c4af27e8ac0fba6d0638c16..c3ac21172e3abedd4ee613b63d5b60fb02b5ce2b 100644 (file)
@@ -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
 /********************************************************************************
  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>
  *******************************************************************************/
             <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]);
        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");
                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");