From e7ee0a3c1447c465e4f8ae5f47b2f0bc6b18dfbd Mon Sep 17 00:00:00 2001 From: Yuri Chornoivan Date: May 10 2011 06:47:04 +0000 Subject: Typos in freeIPA messages and man page https://fedorahosted.org/freeipa/ticket/1128 --- diff --git a/doc/examples/examples.py b/doc/examples/examples.py index 0ae2126..6711492 100644 --- a/doc/examples/examples.py +++ b/doc/examples/examples.py @@ -62,7 +62,7 @@ def validate_name(ugettext, name): class exhelloworld(Command): """ - Example commnad: Hello world! + Example command: Hello world! """ # takes_args is an attribute of Command. It's a tuple containing # instances of Param (or its subclasses such as Str) that define diff --git a/ipa.1 b/ipa.1 index ba6c960..e5f0c6d 100644 --- a/ipa.1 +++ b/ipa.1 @@ -38,7 +38,7 @@ Load configuration from \fIFILE\fR. Produce full debugging output. .TP \fB\-e\fR \fIKEY=VAL\fR -Set enviromental variable \fIKEY\fR to the value \fIVAL\fR. This option overrides configuration files. +Set environmental variable \fIKEY\fR to the value \fIVAL\fR. This option overrides configuration files. .TP \fB\-h\fR, \fB\-\-help\fR Display a help message with a list of options. @@ -71,7 +71,7 @@ The \fBhelp\fR command invokes the built\-in documentation system. Without param .LP Plugin provided commands, as the name suggests, originate from IPA plugin modules. The available set may vary depending on your configuration and can be listed using the built\-in \fBhelp\fR command (see above). -Most plugin provided commands are tied to a certain type of IPA object. IPA objects encompass common abstractions such as users (user identities/accounts), hosts (machine identities), services, password policies, etc. Commands associated with an object are easily identified thanks to the enforced naming convention; the command names are composed of two parts separated with a dash: the name of the corresponding IPA object type and the name of action performed on it. For example all commands used to manage user indentities start with "user\-" (e.g. user\-add, user\-del). +Most plugin provided commands are tied to a certain type of IPA object. IPA objects encompass common abstractions such as users (user identities/accounts), hosts (machine identities), services, password policies, etc. Commands associated with an object are easily identified thanks to the enforced naming convention; the command names are composed of two parts separated with a dash: the name of the corresponding IPA object type and the name of action performed on it. For example all commands used to manage user identities start with "user\-" (e.g. user\-add, user\-del). The following actions are available for most IPA object types: .TP @@ -109,7 +109,7 @@ For some types of objects, these commands might need to take more than one prima All commands that display objects have three special options for controlling output: .TP \fB\-\-all\fR -Dispaly all attributes. Without this option only the most relevant attributes are displayed. +Display all attributes. Without this option only the most relevant attributes are displayed. .TP \fB\-\-raw\fR Display objects as they are stored in the backing store. Disables formatting and attribute labels. @@ -130,7 +130,7 @@ O \- self\-obliterate .TP \fBipa help commands\fR Display a list of available commands -\fBipa help topoics\fR +\fBipa help topics\fR Display a high\-level list of help topics \fBipa help user\fR Display documentation and list of commands in the "user" topic. diff --git a/ipalib/plugins/aci.py b/ipalib/plugins/aci.py index 336f16f..afdfaf4 100644 --- a/ipalib/plugins/aci.py +++ b/ipalib/plugins/aci.py @@ -72,7 +72,7 @@ more of: Note the distinction between attributes and entries. The permissions are independent, so being able to add a user does not mean that the user will -be editabe. +be editable. The bind rule defines who this ACI grants permissions to. The LDAP server allows this to be any valid LDAP entry but we encourage the use of @@ -83,7 +83,7 @@ http://www.redhat.com/docs/manuals/dir-server/ag/8.0/Managing_Access_Control.htm EXAMPLES: -NOTE: ACIs are now added via the permision plugin. These examples are to +NOTE: ACIs are now added via the permission plugin. These examples are to demonstrate how the various options work but this is done via the permission command-line now (see last example). diff --git a/ipalib/plugins/batch.py b/ipalib/plugins/batch.py index 29dcc66..973526a 100644 --- a/ipalib/plugins/batch.py +++ b/ipalib/plugins/batch.py @@ -23,9 +23,9 @@ Plugin to make multiple ipa calls via one remote procedure call To run this code in the lite-server -curl -H "Content-Type:application/json" -H "Acept:applicaton/json" -H "Accept-Language:en" --negotiate -u : --cacert /etc/ipa/ca.crt -d @batch_request.json -X POST http://localhost:8888/ipa/json +curl -H "Content-Type:application/json" -H "Accept:application/json" -H "Accept-Language:en" --negotiate -u : --cacert /etc/ipa/ca.crt -d @batch_request.json -X POST http://localhost:8888/ipa/json -where the contenst of the file batch_request.json follow the below example +where the contents of the file batch_request.json follow the below example {"method":"batch","params":[[ {"method":"group_find","params":[[],{}]}, diff --git a/ipalib/plugins/netgroup.py b/ipalib/plugins/netgroup.py index eeb6de6..7c2fc55 100644 --- a/ipalib/plugins/netgroup.py +++ b/ipalib/plugins/netgroup.py @@ -34,7 +34,7 @@ EXAMPLES: Remove a member from the netgroup: ipa netgroup-remove-member --users=tuser2 admins - Display infromation about a netgroup: + Display information about a netgroup: ipa netgroup-show admins Delete a netgroup: diff --git a/ipalib/plugins/sudocmd.py b/ipalib/plugins/sudocmd.py index ad9f87d..f8c4a8e 100644 --- a/ipalib/plugins/sudocmd.py +++ b/ipalib/plugins/sudocmd.py @@ -23,7 +23,7 @@ Commands used as building blocks for sudo EXAMPLES: - Create a new commnad + Create a new command ipa sudocmd-add --desc='For reading log files' /usr/bin/less Remove a command diff --git a/ipalib/plugins/sudorule.py b/ipalib/plugins/sudorule.py index 75b39a0..63544b2 100644 --- a/ipalib/plugins/sudorule.py +++ b/ipalib/plugins/sudorule.py @@ -211,7 +211,7 @@ api.register(sudorule_find) class sudorule_show(LDAPRetrieve): """ - Dispaly Sudo Rule. + Display Sudo Rule. """ api.register(sudorule_show)