From 4d0e739345fe3039db16e0ee613431e1aa92cf02 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 4 Mar 2011 11:08:54 -0500 Subject: Fix style and grammatical issues in built-in command help. There is a rather large API.txt change but it is only due to changes in the doc string in parameters. ticket 729 --- ipalib/plugins/hbacrule.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ipalib/plugins/hbacrule.py') diff --git a/ipalib/plugins/hbacrule.py b/ipalib/plugins/hbacrule.py index 6445199a1..d6a0d6076 100644 --- a/ipalib/plugins/hbacrule.py +++ b/ipalib/plugins/hbacrule.py @@ -49,7 +49,7 @@ EXAMPLES: ipa hbacrule-add-service --hbacsvcs=sshd john_sshd Create a rule for a new service group. This lets the user john access - the any FTP service on any machine from any machine: + the FTP service on any machine from any machine: ipa hbacsvcgroup-add ftpers ipa hbacsvc-add sftp ipa hbacsvcgroup-add-member --hbacsvcs=ftp,sftp ftpers @@ -85,7 +85,7 @@ from ipalib import AccessTime, Password, Str, StrEnum from ipalib.plugins.baseldap import * from ipalib import _, ngettext -topic = ('hbac', 'Host based access control commands') +topic = ('hbac', 'Host-based access control commands') def is_all(options, attribute): """ @@ -467,7 +467,7 @@ api.register(hbacrule_add_host) class hbacrule_remove_host(LDAPRemoveMember): """ - Remove target hosts and hostgroups from a HBAC rule. + Remove target hosts and hostgroups from an HBAC rule. """ member_attributes = ['memberhost'] member_count_out = ('%i object removed.', '%i objects removed.') @@ -521,7 +521,7 @@ api.register(hbacrule_add_service) class hbacrule_remove_service(LDAPRemoveMember): """ - Remove source hosts and hostgroups from an HBAC rule. + Remove service and service groups from an HBAC rule. """ member_attributes = ['memberservice'] member_count_out = ('%i object removed.', '%i objects removed.') -- cgit