update help message on --provision-with to add by provisioner name

This commit is contained in:
Romulo De Lazzari 2015-11-26 15:17:09 +00:00
parent 32bb316564
commit a9e1ef4fe3
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