lib/mspire/imzml/writer/commandline.rb in mspire-0.8.0 vs lib/mspire/imzml/writer/commandline.rb in mspire-0.8.1

- old
+ new

@@ -81,10 +81,10 @@ # filters (cutoff / max # peaks, etc.) # ms_level, etc. end end - def self.run(argv, globalopts) + def self.run(argv, globalopts=[]) begin opts = parser.parse(argv) rescue Trollop::HelpNeeded return parser.educate end