summaryrefslogtreecommitdiff
path: root/lib/bundler/cli.rb
diff options
context:
space:
mode:
authorAgrim Mittal <agrimmittal97@gmail.com>2018-06-17 15:24:51 +0530
committerAgrim Mittal <agrimmittal97@gmail.com>2018-06-17 15:24:51 +0530
commit4d324525510c1ad662c0e1c032cca8ea21356586 (patch)
tree203aef6047103da0b4b02b62503bbc514d9c0534 /lib/bundler/cli.rb
parentf482ded7d8591ed2952ad0308aaec6b8bd8fb12b (diff)
downloadbundler-4d324525510c1ad662c0e1c032cca8ea21356586.tar.gz
Change options to --without-group and --only-group
Improves understanding of the options without need to look up the docs.
Diffstat (limited to 'lib/bundler/cli.rb')
-rw-r--r--lib/bundler/cli.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index fd1a80118b..466fb0135a 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -287,8 +287,8 @@ module Bundler
if Bundler.feature_flag.list_command?
desc "list", "List all gems in the bundle"
method_option "name-only", :type => :boolean, :banner => "print only the gem names"
- method_option "only", :type => :string, :banner => "print gems from a particular group"
- method_option "without", :type => :string, :banner => "print all gems expect from a group"
+ method_option "only-group", :type => :string, :banner => "print gems from a particular group"
+ method_option "without-group", :type => :string, :banner => "print all gems expect from a group"
method_option "paths", :type => :boolean, :banner => "print the path to each gem in the bundle"
def list
require "bundler/cli/list"