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:
commit
b63fdf756f
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue