Add --message option to `vagrant push`

This commit is contained in:
Seth Vargo 2015-02-03 19:19:08 -05:00
parent ef7cf679dc
commit 52d0df3296
1 changed files with 9 additions and 0 deletions

View File

@ -9,8 +9,17 @@ module VagrantPlugins
# @todo support multiple strategies if requested by the community
def execute
options = {}
opts = OptionParser.new do |o|
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
# Parse the options