diff options
author | Rob Crittenden <rcritten@redhat.com> | 2010-08-24 23:40:32 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-08-27 13:31:04 -0400 |
commit | 4b6b710ba6ce75ffcb9ced43acee0d55adb6163c (patch) | |
tree | 021fc409342115f1a5cbc1978ee5f67069934c4f /ipalib/plugins/netgroup.py | |
parent | ea76d8c59af338f6a79ec87d7a931d2c8643e747 (diff) | |
download | freeipa-4b6b710ba6ce75ffcb9ced43acee0d55adb6163c.tar.gz freeipa-4b6b710ba6ce75ffcb9ced43acee0d55adb6163c.tar.xz freeipa-4b6b710ba6ce75ffcb9ced43acee0d55adb6163c.zip |
Update command documentation based on feedback from docs team.
ticket #158
Diffstat (limited to 'ipalib/plugins/netgroup.py')
-rw-r--r-- | ipalib/plugins/netgroup.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/ipalib/plugins/netgroup.py b/ipalib/plugins/netgroup.py index d2ffc404e..144505be8 100644 --- a/ipalib/plugins/netgroup.py +++ b/ipalib/plugins/netgroup.py @@ -25,19 +25,19 @@ user and host values. EXAMPLES: - Create a new netgroup: - ipa netgroup-add --desc='NFS admins' admins + Add a new netgroup: + ipa netgroup-add --desc="NFS admins" admins - Add a member to the group: + Add members to the netgroup: ipa netgroup-add-member --users=tuser1,tuser2 admins - Remove a member from the group: + Remove a member from the netgroup: ipa netgroup-remove-member --users=tuser2 admins - Display a netgroup: + Display infromation about a netgroup: ipa netgroup-show admins - Remove a netgroup: + Delete a netgroup: ipa netgroup-del admins """ @@ -131,7 +131,7 @@ api.register(netgroup) class netgroup_add(LDAPCreate): """ - Create new netgroup. + Add a new netgroup. """ has_output_params = output_params def pre_callback(self, ldap, dn, entry_attrs, attrs_list, *keys, **options): @@ -149,7 +149,7 @@ api.register(netgroup_add) class netgroup_del(LDAPDelete): """ - Delete netgroup. + Delete a netgroup. """ api.register(netgroup_del) @@ -157,7 +157,7 @@ api.register(netgroup_del) class netgroup_mod(LDAPUpdate): """ - Modify netgroup. + Modify a netgroup. """ has_output_params = output_params @@ -166,7 +166,7 @@ api.register(netgroup_mod) class netgroup_find(LDAPSearch): """ - Search the groups. + Search for a netgroup. """ has_output_params = output_params @@ -175,7 +175,7 @@ api.register(netgroup_find) class netgroup_show(LDAPRetrieve): """ - Display netgroup. + Display information about a netgroup. """ has_output_params = output_params @@ -184,7 +184,7 @@ api.register(netgroup_show) class netgroup_add_member(LDAPAddMember): """ - Add members to netgroup. + Add members to a netgroup. """ has_output_params = LDAPAddMember.has_output_params + output_params member_attributes = ['memberuser', 'memberhost'] @@ -220,7 +220,7 @@ api.register(netgroup_add_member) class netgroup_remove_member(LDAPRemoveMember): """ - Remove members from netgroup. + Remove members from a netgroup. """ has_output_params = LDAPRemoveMember.has_output_params + output_params member_attributes = ['memberuser', 'memberhost'] |