net: Fix documentation of net rap printq info
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:27:19 +0000 (08:27 +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 cdf0fbbf60661cbb698833c1da0e49e70a638597..876992df363b820a29a9336434f3705e2ed60026 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 8ba40b61cc36366f8b70febba27e5aacd5c17a83..bb4fdfd511df302bfe8d9d19630f4c50a8b1a281 100644 (file)
@@ -512,7 +512,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(