Merge branch 'master' of ssh://git.samba.org/data/git/abartlet/samba into extended...
[abartlet/samba.git/.git] / source3 / utils / net_rap.c
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",