Merge pull request #110 from maxgalbu/ignorecommoncommands

Ignore common sendmail options
This commit is contained in:
Samuel Cochran 2013-09-15 17:18:54 -07:00
commit cc17f2d765
1 changed files with 7 additions and 0 deletions

View File

@ -32,6 +32,13 @@ OptionParser.new do |parser|
parser.on('-f FROM', 'Set the sending address') do |from|
options[:from] = from
end
parser.on('-oi', 'Ignored option -oi') do |ignored|
end
parser.on('-t', 'Ignored option -t') do |ignored|
end
parser.on('-q', 'Ignored option -q') do |ignored|
end
parser.on('-h', '--help', 'Display this help information') do
puts parser