From: Carsten Dumke Date: Thu, 13 Nov 2008 18:05:00 +0000 (-0600) Subject: net: Fix documentation of net rap printq info X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0a7fb721cdc;p=thirdparty%2Fsamba.git 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 --- 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(