summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLutz Lengemann <mobilutz@users.noreply.github.com>2016-02-18 09:00:38 +0100
committerLutz Lengemann <mobilutz@users.noreply.github.com>2016-02-18 09:00:38 +0100
commit902905c8119e3a003075c3673cb1e7bdcf6104fd (patch)
tree1cdf8679fc95b980283652a51a6b5d87f8e98382
parent5496620f4fdd959f0aa8ffc4c6b9beb76880fefd (diff)
downloadbundler-902905c8119e3a003075c3673cb1e7bdcf6104fd.tar.gz
Change help display for viz
-rw-r--r--lib/bundler/cli.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 1fed1b58f0..8e4e8e9486 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -352,11 +352,11 @@ module Bundler
Viz requires the ruby-graphviz gem (and its dependencies).
The associated gems must also be installed via 'bundle install'.
D
- method_option :file, :type => :string, :default => "gem_graph", :aliases => "-f", :banner => "The name to use for the generated file. see format option"
- method_option :format, :type => :string, :default => "png", :aliases => "-F", :banner => "This is output format option. Supported format is png, jpg, svg, dot ..."
- method_option :requirements, :type => :boolean, :default => false, :aliases => "-r", :banner => "Set to show the version of each required dependency."
- method_option :version, :type => :boolean, :default => false, :aliases => "-v", :banner => "Set to show each gem version."
- method_option :without, :type => :array, :default => [], :banner => "Exclude gems that are part of the specified named group."
+ method_option :file, :type => :string, :default => "gem_graph", :aliases => "-f", :desc => "The name to use for the generated file. see format option"
+ method_option :format, :type => :string, :default => "png", :aliases => "-F", :desc => "This is output format option. Supported format is png, jpg, svg, dot ..."
+ method_option :requirements, :type => :boolean, :default => false, :aliases => "-R", :desc => "Set to show the version of each required dependency."
+ method_option :version, :type => :boolean, :default => false, :aliases => "-v", :desc => "Set to show each gem version."
+ method_option :without, :type => :array, :default => [], :aliases => "-W", :banner => "GROUP[ GROUP...]", :desc => "Exclude gems that are part of the specified named group."
def viz
require "bundler/cli/viz"
Viz.new(options).run