From 0a7fb721cdc0d825cf246d53075ad32a81b2b31d Mon Sep 17 00:00:00 2001 From: Carsten Dumke Date: Thu, 13 Nov 2008 12:05:00 -0600 Subject: [PATCH] net: Fix documentation of net rap printq info 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 --- docs-xml/manpages-3/net.8.xml | 2 +- source/utils/net_rap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-xml/manpages-3/net.8.xml b/docs-xml/manpages-3/net.8.xml index cdf0fbbf606..876992df363 100644 --- a/docs-xml/manpages-3/net.8.xml +++ b/docs-xml/manpages-3/net.8.xml @@ -395,7 +395,7 @@ current network. RAP PRINTQ -RAP PRINTQ LIST <replaceable>QUEUE_NAME</replaceable> +RAP PRINTQ INFO <replaceable>QUEUE_NAME</replaceable> Lists the specified print queue and print jobs on the server. If the QUEUE_NAME is omitted, all diff --git a/source/utils/net_rap.c b/source/utils/net_rap.c index 8ba40b61cc3..bb4fdfd511d 100644 --- a/source/utils/net_rap.c +++ b/source/utils/net_rap.c @@ -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 [] [misc. options] [targets]\n"\ + "net rap printq info [] [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( -- 2.47.3