Merge pull request #6601 from romulodl/update_provision_with_help_message

update help message on --provision-with to add by provisioner name
This commit is contained in:
Seth Vargo 2015-11-26 12:23:36 -05:00
commit b63fdf756f
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ module VagrantPlugins
o.banner = "Usage: vagrant provision [vm-name] [--provision-with x,y,z]"
o.on("--provision-with x,y,z", Array,
"Enable only certain provisioners, by type.") do |list|
"Enable only certain provisioners, by type or by name.") do |list|
options[:provision_types] = list.map { |type| type.to_sym }
end
end

View File

@ -19,7 +19,7 @@ module VagrantPlugins
end
parser.on("--provision-with x,y,z", Array,
"Enable only certain provisioners, by type.") do |list|
"Enable only certain provisioners, by type or by name.") do |list|
options[:provision_types] = list.map { |type| type.to_sym }
options[:provision_enabled] = true
options[:provision_ignore_sentinel] = true