Feature #1287: Change host option to '-H'

This commit is contained in:
Carlos Martín committed 2012-06-04 14:37:14 +02:00
1 parent f6ca62ea36
commit 726258dfd7
1 file changed
+6 -1
+6 -1
View File
@@ -219,7 +219,7 @@ opts = OptionParser.new do |opts|
options[:group]=ext
end
opts.on("-h", "--host host", String,
opts.on("-H", "--host hostname", String,
"Host id to filter the results" ) do |ext|
options[:host]=ext
end
@@ -244,6 +244,11 @@ opts = OptionParser.new do |opts|
options[:split]=ext
end
opts.on("-h", "--help", "Show this message" ) do
puts opts
exit
end
opts.on()
end