From a9e1ef4fe3d11b81171c85551339c417e2dd0666 Mon Sep 17 00:00:00 2001 From: Romulo De Lazzari Date: Thu, 26 Nov 2015 15:17:09 +0000 Subject: [PATCH] update help message on --provision-with to add by provisioner name --- plugins/commands/provision/command.rb | 2 +- plugins/commands/up/start_mixins.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/commands/provision/command.rb b/plugins/commands/provision/command.rb index a67084f75..0dc5bdf00 100644 --- a/plugins/commands/provision/command.rb +++ b/plugins/commands/provision/command.rb @@ -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 diff --git a/plugins/commands/up/start_mixins.rb b/plugins/commands/up/start_mixins.rb index 3e088e575..bb397346c 100644 --- a/plugins/commands/up/start_mixins.rb +++ b/plugins/commands/up/start_mixins.rb @@ -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