Add --message option to `vagrant push`
This commit is contained in:
parent
ef7cf679dc
commit
52d0df3296
|
@ -9,8 +9,17 @@ module VagrantPlugins
|
||||||
|
|
||||||
# @todo support multiple strategies if requested by the community
|
# @todo support multiple strategies if requested by the community
|
||||||
def execute
|
def execute
|
||||||
|
options = {}
|
||||||
|
|
||||||
opts = OptionParser.new do |o|
|
opts = OptionParser.new do |o|
|
||||||
o.banner = "Usage: vagrant push [strategy] [options]"
|
o.banner = "Usage: vagrant push [strategy] [options]"
|
||||||
|
o.separator ""
|
||||||
|
o.separator "Options:"
|
||||||
|
o.separator ""
|
||||||
|
|
||||||
|
o.on("-m", "--message BODY", "Text to identify this push") do |m|
|
||||||
|
options[:message] = m
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Parse the options
|
# Parse the options
|
||||||
|
|
Loading…
Reference in New Issue