From 21027216d43c33fac220746c32acff6b355c4e7d Mon Sep 17 00:00:00 2001
From: Christian Ambach <ambi@samba.org>
Date: Fri, 30 Sep 2011 17:07:05 +0200
Subject: [PATCH] s3-docs: some corrections for wbinfo

Parameters for --group-info and --gid-info were not listed
properly in the SYNOPSIS and the OPTIONS section

Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Fri Sep 30 18:44:34 CEST 2011 on sn-devel-104
---
 docs-xml/manpages-3/wbinfo.1.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

Index: samba-3.6.6/docs-xml/manpages-3/wbinfo.1.xml
===================================================================
--- samba-3.6.6.orig/docs-xml/manpages-3/wbinfo.1.xml
+++ samba-3.6.6/docs-xml/manpages-3/wbinfo.1.xml
@@ -33,8 +33,8 @@
 		<arg choice="opt">--getdcname domain</arg>
 		<arg choice="opt">--get-auth-user</arg>
 		<arg choice="opt">-G gid</arg>
-		<arg choide="opt">--gid-info</arg>
-		<arg choide="opt">--group-info</arg>
+		<arg choide="opt">--gid-info gid</arg>
+		<arg choide="opt">--group-info group</arg>
 		<arg choice="opt">--help|-?</arg>
 		<arg choice="opt">-i user</arg>
 		<arg choice="opt">-I ip</arg>
@@ -171,8 +171,8 @@
 		</varlistentry>
 
 		<varlistentry>
-		<term>--group-info <replaceable>user</replaceable></term>
-		<listitem><para>Get group info for user.
+		<term>--group-info <replaceable>group</replaceable></term>
+		<listitem><para>Get group info from group name.
 		</para></listitem>
 		</varlistentry>
 
Index: samba-3.6.6/docs/manpages/wbinfo.1
===================================================================
--- samba-3.6.6.orig/docs/manpages/wbinfo.1
+++ samba-3.6.6/docs/manpages/wbinfo.1
@@ -31,7 +31,7 @@
 wbinfo \- Query information from winbind daemon
 .SH "SYNOPSIS"
 .HP \w'\ 'u
-wbinfo [\-a\ user%password] [\-\-all\-domains] [\-\-allocate\-gid] [\-\-allocate\-uid] [\-c] [\-\-ccache\-save] [\-\-change\-user\-password] [\-D\ domain] [\-\-domain\ domain] [\-\-dsgetdcname\ domain] [\-g] [\-\-getdcname\ domain] [\-\-get\-auth\-user] [\-G\ gid] [\-\-gid\-info] [\-\-group\-info] [\-\-help|\-?] [\-i\ user] [\-I\ ip] [\-K\ user%password] [\-\-lanman] [\-m] [\-n\ name] [\-N\ netbios\-name] [\-\-ntlmv2] [\-\-online\-status] [\-\-own\-domain] [\-p] [\-\-ping\-dc] [\-r\ user] [\-R|\-\-lookup\-rids] [\-s\ sid] [\-\-separator] [\-\-set\-auth\-user\ user%password] [\-S\ sid] [\-\-sid\-aliases] [\-\-sid\-to\-fullname] [\-t] [\-u] [\-\-uid\-info\ uid] [\-\-usage] [\-\-user\-domgroups\ sid] [\-\-user\-sidinfo\ sid] [\-\-user\-sids\ sid] [\-U\ uid] [\-V] [\-\-verbose] [\-Y\ sid]
+wbinfo [\-a\ user%password] [\-\-all\-domains] [\-\-allocate\-gid] [\-\-allocate\-uid] [\-c] [\-\-ccache\-save] [\-\-change\-user\-password] [\-D\ domain] [\-\-domain\ domain] [\-\-dsgetdcname\ domain] [\-g] [\-\-getdcname\ domain] [\-\-get\-auth\-user] [\-G\ gid] [\-\-gid\-info\ gid] [\-\-group\-info\ group] [\-\-help|\-?] [\-i\ user] [\-I\ ip] [\-K\ user%password] [\-\-lanman] [\-m] [\-n\ name] [\-N\ netbios\-name] [\-\-ntlmv2] [\-\-online\-status] [\-\-own\-domain] [\-p] [\-\-ping\-dc] [\-r\ user] [\-R|\-\-lookup\-rids] [\-s\ sid] [\-\-separator] [\-\-set\-auth\-user\ user%password] [\-S\ sid] [\-\-sid\-aliases] [\-\-sid\-to\-fullname] [\-t] [\-u] [\-\-uid\-info\ uid] [\-\-usage] [\-\-user\-domgroups\ sid] [\-\-user\-sidinfo\ sid] [\-\-user\-sids\ sid] [\-U\ uid] [\-V] [\-\-verbose] [\-Y\ sid]
 .SH "DESCRIPTION"
 .PP
 This tool is part of the
@@ -130,9 +130,9 @@ Find a DC for a domain\&.
 Get group info from gid\&.
 .RE
 .PP
-\-\-group\-info \fIuser\fR
+\-\-group\-info \fIgroup\fR
 .RS 4
-Get group info for user\&.
+Get group info from group name\&.
 .RE
 .PP
 \-g|\-\-domain\-groups
