update help message on --provision-with to add by provisioner name
This commit is contained in:
parent
32bb316564
commit
a9e1ef4fe3
|
@ -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