Skip to content

Commit

Permalink
update help message on --provision-with to add by provisioner name
Browse files Browse the repository at this point in the history
  • Loading branch information
romulodl committed Nov 26, 2015
1 parent 32bb316 commit a9e1ef4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/commands/provision/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def execute
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
Expand Down
2 changes: 1 addition & 1 deletion plugins/commands/up/start_mixins.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def build_start_options(parser, options)
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
Expand Down

0 comments on commit a9e1ef4

Please sign in to comment.