Actions
Patch #8008
closedFix 'rdm-mailhandler --help' not working
Status:
Closed
Priority:
Low
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
2011-03-29
Due date:
% Done:
0%
Estimated time:
Description
Invoking "rdm-mailhandler --help" gives the following error:
$ ./rdm-mailhandler.rb --help
./rdm-mailhandler.rb:103:in `initialize': undefined local variable or method `usage' for #<RedmineMailHandler:0x7f7335c540b8 @issue_attributes={}> (NameError)
from /usr/lib/ruby/1.8/getoptlong.rb:613:in `each'
from /usr/lib/ruby/1.8/getoptlong.rb:610:in `loop'
from /usr/lib/ruby/1.8/getoptlong.rb:610:in `each'
from ./rdm-mailhandler.rb:96:in `initialize'
from ./rdm-mailhandler.rb:167:in `new'
from ./rdm-mailhandler.rb:167
The attached patch fixes the issue by correcting the call to RDoc.usage (line 103).
Files
Actions