mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-08 21:16:39 +09:00
Feature #1287: Change host option to '-H'
This commit is contained in:
1 parent
f6ca62ea36
commit
726258dfd7
1 file changed
+6
-1
+6
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user