net: Fix net rap printq info documentation (bug #5892)
authorKai Blin <kai@samba.org>
Mon, 17 Nov 2008 07:37:21 +0000 (08:37 +0100)
committerKai Blin <kai@samba.org>
Mon, 17 Nov 2008 07:58:25 +0000 (08:58 +0100)
Carsten Dumke <carsten@cdumke.de> reported and provided a patch
for v3.0 and v3.2. (See 0a7fb721cdc)

This fixes the same issue in v3.3 and also changes the auto-generated usage
information to give better help about net rap printq info.

docs-xml/manpages-3/net.8.xml
source3/utils/net_rap.c

index 31fe69d8d33b976cc6366fc9be9e8d80b20cab8e..75f85e1c553984874765ee3243a2ea3fcc91999f 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 570e951aee201c0b6c2363406feffc3153d5cceb..dd757abd1ac5cf5ff460f4f69753cc8eced410c7 100644 (file)
@@ -612,7 +612,7 @@ int net_rap_printq_usage(struct net_context *c, 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(
@@ -726,9 +726,10 @@ int net_rap_printq(struct net_context *c, int argc, const char **argv)
                        "info",
                        rap_printq_info,
                        NET_TRANSPORT_RAP,
-                       "Display info about print job",
-                       "net rap printq info\n"
-                       "    Display info about print job"
+                       "Display info about print queues and jobs",
+                       "net rap printq info [queue]\n"
+                       "    Display info about print jobs in queue.\n"
+                       "    If queue is not specified, all queues are listed"
                },
                {
                        "delete",