summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/hbacrule.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-03-04 11:08:54 -0500
committerRob Crittenden <rcritten@redhat.com>2011-03-04 11:09:43 -0500
commit4d0e739345fe3039db16e0ee613431e1aa92cf02 (patch)
tree87fe8f94e7b7265cd12b8a78eca89cedb87ad160 /ipalib/plugins/hbacrule.py
parentc0ecdd1395e457592407c2d4d622a2758896d8ca (diff)
downloadfreeipa-4d0e739345fe3039db16e0ee613431e1aa92cf02.tar.gz
freeipa-4d0e739345fe3039db16e0ee613431e1aa92cf02.tar.xz
freeipa-4d0e739345fe3039db16e0ee613431e1aa92cf02.zip
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
Diffstat (limited to 'ipalib/plugins/hbacrule.py')
-rw-r--r--ipalib/plugins/hbacrule.py8
1 files changed, 4 insertions, 4 deletions
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.')