From a87cfbeea27bf220bef7f3d40ba0bc4d875794a1 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Sat, 24 May 2014 20:37:47 +0100 Subject: [PATCH] make box add --help text more accurate Fixes #3898. --- plugins/commands/box/command/add.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/commands/box/command/add.rb b/plugins/commands/box/command/add.rb index 52016b007..938fe9d8d 100644 --- a/plugins/commands/box/command/add.rb +++ b/plugins/commands/box/command/add.rb @@ -8,7 +8,7 @@ module VagrantPlugins options = {} opts = OptionParser.new do |o| - o.banner = "Usage: vagrant box add [options] " + o.banner = "Usage: vagrant box add [options] " o.separator "" o.separator "Options:" o.separator "" @@ -46,6 +46,10 @@ module VagrantPlugins options[:version] = v end + o.separator "" + o.separator "The box descriptor can be the name of a box on Vagrant Cloud," + o.separator "or a URL, or a local .box file, or a local .json file containing" + o.separator "the catalog metadata." o.separator "" o.separator "The options below only apply if you're adding a box file directly," o.separator "and not using a Vagrant server or a box structured like 'user/box':"