Red Hat Bugzilla – Bug 1257622
'bundle help list' shows help for 'bundle show'
Last modified: 2015-08-31 04:29:23 EDT
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):
Steps to Reproduce:
1.bundle help show
2.bundle help list
3.and compare the outputs
bundle help list
bundle show GEM [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]
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.
bundle list should have its own description in help
Thank you for your report.
Looking at the source code , it seems that the "list" and "show" commands are equivalent. Nevertheless, the "bundle help" has different description for them. So I asked upstream  to clarify this.
However, I am closing this issue, since I don't think it is worth of separate fix in RHEL.