bin/prenus in prenus-0.0.10 vs bin/prenus in prenus-0.0.11
- old
+ new
@@ -17,11 +17,11 @@
require 'lib/output'
require 'lib/input'
require 'lib/gemcache/ruby-nessus/ruby-nessus'
#Versioning and .. those things
-$verstring = "Version 0.0.10 - 1st of October, 2013 - Created by Christian \"xntrik\" Frichot.\n\n"
+$verstring = "Version 0.0.11 - 7th of October, 2013 - Created by Christian \"xntrik\" Frichot.\n\n"
$verstring += "Copyright 2013 Christian Frichot\n\n"
$verstring += "See LICENSE.txt for more details\n"
class OptsConsole
def self.parse(args)
@@ -67,9 +67,14 @@
when "host"
options[:type] = "host"
else
options[:type] = "html"
end
+ end
+
+ # optional HTML content in a file to be inserted into the header
+ opts.on('--header-file FILE',"Optional HTML FILE to be inserted into the top of the index.html file when using HTML output") do |indexfile|
+ options[:indexfile] = indexfile
end
# level - how deep to go on some of the inputs
opts.on('-s', '--severity LEVEL', "Defaults to 3 for High -> Critical. For large datasets 4 is saner") do |sev|
case sev.to_i
\ No newline at end of file