]> git.sur5r.net Git - openldap/commitdiff
fix usage
authorPierangelo Masarati <ando@openldap.org>
Mon, 31 Oct 2005 16:40:11 +0000 (16:40 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 31 Oct 2005 16:40:11 +0000 (16:40 +0000)
servers/slapd/aclparse.c

index fce8a116981f9ea327abc7fca2e9b1a81b108cc8..3c52759f7033aa55afc9b13438d3c3ac99913ec7 100644 (file)
@@ -2241,11 +2241,11 @@ acl_usage( void )
        char *access =
                "<access clause> ::= access to <what> "
                                "[ by <who> <access> [ <control> ] ]+ \n";
-
        char *what =
-               "<what> ::= * | [dn[.<dnstyle>]=<DN>] [filter=<filter>] [attrs=<attrlist>]\n"
-               "<attrlist> ::= <attr> [val[/matchingRule][.<attrstyle>]=<value>] | <attr> , <attrlist>\n"
-               "<attr> ::= <attrname> | entry | children\n";
+               "<what> ::= * | [dn[.<dnstyle>]=<DN>] [filter=<filter>] [attrs=<attrspec>]\n"
+               "<attrspec> ::= <attrname> [val[/<matchingRule>][.<attrstyle>]=<value>] | <attrlist>\n"
+               "<attrlist> ::= <attr> [ , <attrlist> ]\n"
+               "<attr> ::= <attrname> | @<objectClass> | !<objectClass> | entry | children\n";
 
        char *who =
                "<who> ::= [ * | anonymous | users | self | dn[.<dnstyle>]=<DN> ]\n"
@@ -2282,7 +2282,7 @@ acl_usage( void )
 #endif /* ! SLAP_DYNACL */
                "";
 
-       Debug( LDAP_DEBUG_ANY, "%s%s%s\n", access, who, what );
+       Debug( LDAP_DEBUG_ANY, "%s%s%s\n", access, what, who );
 
        return 1;
 }