Merge pull request #3899 from aspiers/help-text
commands/box/add: make --help text slightly more accurate
This commit is contained in:
commit
82ad8c84e1
|
@ -8,7 +8,7 @@ module VagrantPlugins
|
||||||
options = {}
|
options = {}
|
||||||
|
|
||||||
opts = OptionParser.new do |o|
|
opts = OptionParser.new do |o|
|
||||||
o.banner = "Usage: vagrant box add [options] <name or url>"
|
o.banner = "Usage: vagrant box add [options] <box descriptor>"
|
||||||
o.separator ""
|
o.separator ""
|
||||||
o.separator "Options:"
|
o.separator "Options:"
|
||||||
o.separator ""
|
o.separator ""
|
||||||
|
@ -46,6 +46,10 @@ module VagrantPlugins
|
||||||
options[:version] = v
|
options[:version] = v
|
||||||
end
|
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 ""
|
||||||
o.separator "The options below only apply if you're adding a box file directly,"
|
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':"
|
o.separator "and not using a Vagrant server or a box structured like 'user/box':"
|
||||||
|
|
|
@ -17,7 +17,7 @@ module VagrantPlugins
|
||||||
}
|
}
|
||||||
|
|
||||||
opts = OptionParser.new do |o|
|
opts = OptionParser.new do |o|
|
||||||
o.banner = "Usage: vagrant init [name] [url]"
|
o.banner = "Usage: vagrant init [options] [name [url]]"
|
||||||
o.separator ""
|
o.separator ""
|
||||||
o.separator "Options:"
|
o.separator "Options:"
|
||||||
o.separator ""
|
o.separator ""
|
||||||
|
|
Loading…
Reference in New Issue