# The command is composed of bits from the @command variable.
def execute
@command.unshift "nice -n 19"
- @command << "--rev" if @options[:comp]
+ @command << "--rev"
@command << "> /dev/null 2>&1" unless @options[:verbose]
command = @command.join(" ")
system(command)
casts = []
casts << {:long=>'database', :short=>'d', :type=>'file!', :mandatory=>false, :default=>nil, :allowed=>nil, :disallowed=>nil}
-casts << {:long=>'comp', :short=>'c', :type=>'flag', :mandatory=>false, :default=>nil, :allowed=>nil, :disallowed=>nil}
casts << {:long=>'identity', :short=>'i', :type=>'float', :mandatory=>false, :default=>nil, :allowed=>nil, :disallowed=>nil}
casts << {:long=>'e_val', :short=>'e', :type=>'float', :mandatory=>false, :default=>nil, :allowed=>nil, :disallowed=>nil}