RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1257622 - 'bundle help list' shows help for 'bundle show'
Summary: 'bundle help list' shows help for 'bundle show'
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rubygem-bundler
Version: 7.2
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Vít Ondruch
QA Contact: Iveta Wiedermann
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-27 13:28 UTC by Iveta Wiedermann
Modified: 2015-08-31 08:29 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-31 08:29:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github bundler bundler issues 3972 0 None None None Never

Description Iveta Wiedermann 2015-08-27 13:28:49 UTC
Description of problem:
'bundle help list' command provides the same output as for 'bundle help show' command. It looks like if no GEM is provided to 'bundle show' its behaviour is same as for 'bundle list' but still I think 'bundle help list' should not have in usage 'bundle show GEM [OPTIONS]'.
And if 'bundle show' without a GEM specified should be the same as 'bundle list' it should be also mentioned in man page.


Version-Release number of selected component (if applicable):
rubygem-bundler-1.7.8-3.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1.bundle help show
2.bundle help list
3.and compare the outputs

Actual results:
bundle help list

Usage:
  bundle show GEM [OPTIONS]

Options:
      [--paths=List the paths of all gems that are required by your Gemfile.], [--no-paths]  
      [--no-color=Disable colorization in output], [--no-no-color]                           
  -V, [--verbose=Enable verbose output mode], [--no-verbose]                                 
  -r, [--retry=Specify the number of times you wish to attempt network commands]             

Description:
  Show lists the names and versions of all gems that are required by your Gemfile. Calling show with [GEM] 
  will list the exact location of that gem on your machine.

Expected results:
bundle list should have its own description in help

Additional info:

Comment 1 Vít Ondruch 2015-08-31 08:29:23 UTC
Thank you for your report.

Looking at the source code [1], it seems that the "list" and "show" commands are equivalent. Nevertheless, the "bundle help" has different description for them. So I asked upstream [2] to clarify this.

However, I am closing this issue, since I don't think it is worth of separate fix in RHEL.



[1] https://github.com/bundler/bundler/blob/master/lib/bundler/cli.rb#L206
[2] https://github.com/bundler/bundler/issues/3972


Note You need to log in before you can comment on or make changes to this bug.