From 8445b496d8bacd07805b33f3ef830073eddff6d5 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Wed, 18 Jul 2018 14:19:29 -0700 Subject: [PATCH] Use consistent terms for describing local flag --- plugins/commands/plugin/command/expunge.rb | 2 +- plugins/commands/plugin/command/list.rb | 2 +- plugins/commands/plugin/command/repair.rb | 2 +- plugins/commands/plugin/command/update.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/commands/plugin/command/expunge.rb b/plugins/commands/plugin/command/expunge.rb index 1b23ab02e..721a44169 100644 --- a/plugins/commands/plugin/command/expunge.rb +++ b/plugins/commands/plugin/command/expunge.rb @@ -16,7 +16,7 @@ module VagrantPlugins options[:force] = force end - o.on("--local", "Include local project plugins for expunge") do |l| + o.on("--local", "Include plugins from local project for expunge") do |l| options[:env_local] = l end diff --git a/plugins/commands/plugin/command/list.rb b/plugins/commands/plugin/command/list.rb index 1b850f52a..8e176d6b2 100644 --- a/plugins/commands/plugin/command/list.rb +++ b/plugins/commands/plugin/command/list.rb @@ -11,7 +11,7 @@ module VagrantPlugins o.banner = "Usage: vagrant plugin list [-h]" # Stub option to allow Vagrantfile loading - o.on("--local", "Include local plugins"){|_|} + o.on("--local", "Include local project plugins"){|_|} end # Parse the options diff --git a/plugins/commands/plugin/command/repair.rb b/plugins/commands/plugin/command/repair.rb index a531e01b2..670d2b232 100644 --- a/plugins/commands/plugin/command/repair.rb +++ b/plugins/commands/plugin/command/repair.rb @@ -12,7 +12,7 @@ module VagrantPlugins opts = OptionParser.new do |o| o.banner = "Usage: vagrant plugin repair [-h]" - o.on("--local", "Install plugin for local project only") do |l| + o.on("--local", "Repair plugins in local project") do |l| options[:env_local] = l end end diff --git a/plugins/commands/plugin/command/update.rb b/plugins/commands/plugin/command/update.rb index 6f7c9ff36..03abf12f3 100644 --- a/plugins/commands/plugin/command/update.rb +++ b/plugins/commands/plugin/command/update.rb @@ -15,7 +15,7 @@ module VagrantPlugins o.banner = "Usage: vagrant plugin update [names...] [-h]" o.separator "" - o.on("--local", "Remove plugin from local project") do |l| + o.on("--local", "Update plugin in local project") do |l| options[:env_local] = l end end