summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-03-03 08:10:40 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-03-03 08:10:40 +0000
commite7bf31d16212ac6a03b5e43a6c692ca547cbefb1 (patch)
tree3a2385a189e8e0b36b7f74a69644a42981e75ef3
parentc4cf97dea5dd70bd14a01d3035a14a8a9ca01acb (diff)
downloadredmine-e7bf31d16212ac6a03b5e43a6c692ca547cbefb1.tar.gz
redmine-e7bf31d16212ac6a03b5e43a6c692ca547cbefb1.zip
Typo and text formatting in rdm-mailhandler usage.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11524 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--extra/mail_handler/rdm-mailhandler.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/extra/mail_handler/rdm-mailhandler.rb b/extra/mail_handler/rdm-mailhandler.rb
index 35ee6ce41..a4a736e07 100644
--- a/extra/mail_handler/rdm-mailhandler.rb
+++ b/extra/mail_handler/rdm-mailhandler.rb
@@ -49,7 +49,7 @@ class RedmineMailHandler
optparse = OptionParser.new do |opts|
opts.banner = "Usage: rdm-mailhandler.rb [options] --url=<Redmine URL> --key=<API key>"
opts.separator("")
- opts.separator("Reads an email from standard input and forward it to a Redmine server through a HTTP request.")
+ opts.separator("Reads an email from standard input and forwards it to a Redmine server through a HTTP request.")
opts.separator("")
opts.separator("Required arguments:")
opts.on("-u", "--url URL", "URL of the Redmine server") {|v| self.url = v}
@@ -58,10 +58,10 @@ class RedmineMailHandler
opts.separator("General options:")
opts.on("--no-permission-check", "disable permission checking when receiving",
"the email") {self.no_permission_check = '1'}
- opts.on("--key-file FILE", "path to a file that contains the Redmine",
- "API key (use this option instead of --key",
- "if you don't the key to appear in the",
- "command line)") {|v| read_key_from_file(v)}
+ opts.on("--key-file FILE", "full path to a file that contains your Redmine",
+ "API key (use this option instead of --key if",
+ "you don't want the key to appear in the command",
+ "line)") {|v| read_key_from_file(v)}
opts.on("--no-check-certificate", "do not check server certificate") {self.no_check_certificate = true}
opts.on("-h", "--help", "show this help") {puts opts; exit 1}
opts.on("-v", "--verbose", "show extra information") {self.verbose = true}
@@ -87,7 +87,7 @@ class RedmineMailHandler
"ATTRS is a comma separated list of attributes") {|v| self.allow_override = v}
opts.separator("")
opts.separator("Examples:")
- opts.separator("No project specified. Emails MUST contain the 'Project' keyword:")
+ opts.separator("No project specified, emails MUST contain the 'Project' keyword:")
opts.separator(" rdm-mailhandler.rb --url http://redmine.domain.foo --key secret")
opts.separator("")
opts.separator("Fixed project and default tracker specified, but emails can override")