Project

General

Profile

Actions

Patch #8008

closed

Fix 'rdm-mailhandler --help' not working

Added by Thomas Weiß about 14 years ago. Updated almost 13 years ago.

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

fix-mailhandler-help.patch (324 Bytes) fix-mailhandler-help.patch Thomas Weiß, 2011-03-29 09:54
Actions

Also available in: Atom PDF