net: Fix documentation of net rap printq info (bug #5892)
authorCarsten Dumke <carsten@cdumke.de>
Thu, 13 Nov 2008 18:05:00 +0000 (12:05 -0600)
committerKai Blin <kai@samba.org>
Mon, 17 Nov 2008 07:51:17 +0000 (08:51 +0100)
The man-page (see net(8)) and the usage-info (call "net help rap printq") of
'net rap printq' do contain an option "list" but in net_rap.c
the option is named "info".

Rename the option "list" in the documentation (man-pages + usage) to "info" to
match the code.

Signed-off-by: Kai Blin <kai@samba.org>
docs-xml/manpages-3/net.8.xml
source/utils/net_rap.c

index 54606c30c6065e0c822021299bac8e741aa1ff33..8c9408b3635a731fda76f50b0cf3e0a5a91ff0b9 100644 (file)
@@ -395,7 +395,7 @@ current network.</para>
 <title>RAP PRINTQ</title>
 
 <refsect3>
-<title>RAP PRINTQ LIST <replaceable>QUEUE_NAME</replaceable></title>
+<title>RAP PRINTQ INFO <replaceable>QUEUE_NAME</replaceable></title>
 
 <para>Lists the specified print queue and print jobs on the server.
 If the <replaceable>QUEUE_NAME</replaceable> is omitted, all 
index 54e59673b80f10b2c8ec5120deb551f02a3f0a1d..4d64d95e03678ca4a4a1ac0c96682832cc42a585 100644 (file)
@@ -491,7 +491,7 @@ int net_rap_printq_usage(int argc, const char **argv)
        d_printf(
         "net rap printq [misc. options] [targets]\n"\
         "\tor\n"\
-        "net rap printq list [<queue_name>] [misc. options] [targets]\n"\
+        "net rap printq info [<queue_name>] [misc. options] [targets]\n"\
         "\tlists the specified queue and jobs on the target server.\n"\
         "\tIf the queue name is not specified, all queues are listed.\n\n");
        d_printf(