Issue #505
closedpulp-consumer --help returns unexpected output
Description
Description of problem:
pulp-consumer -u admin -p admin --help returns login options:
-u/--username/-p/--password/--debug/--config/--map
However rpm/puppet/history/register/status/unregister/update are expected, since pulp-consumer -u admin -p admin [Enter] returns exactly rpm/pupper/...
Version-Release number of selected component (if applicable):
rpm -qa | grep pulp-consumer
pulp-consumer-client-2.4.1-0.6.beta.fc20.noarch
How reproducible:
always
pulp-consumer --help
Usage: pulp-consumer [options]
Options:
-h, --help show this help message and exit
-u USERNAME, --username=USERNAME
credentials for the Pulp server; if specified will
bypass the stored certificate
-p PASSWORD, --password=PASSWORD
credentials for the Pulp server; must be specified
with --username
--debug enables debug logging
--config=CONFIG absolute path to the configuration file
--map prints a map of the CLI sections and commands
pulp-consumer -u admin -p admin --help
Usage: pulp-consumer [options]
Options:
-h, --help show this help message and exit
-u USERNAME, --username=USERNAME
credentials for the Pulp server; if specified will
bypass the stored certificate
-p PASSWORD, --password=PASSWORD
credentials for the Pulp server; must be specified
with --username
--debug enables debug logging
--config=CONFIG absolute path to the configuration file
--map prints a map of the CLI sections and commands
pulp-consumer -u admin -p admin [ENTER]
Usage: pulp-consumer [SUB_SECTION, ..] COMMAND
Available Sections:
puppet - manage Puppet bindings
rpm - manage RPM-related features
Available Commands:
history - lists history of this consumer
register - registers this consumer to the Pulp server
status - displays the registration status of this consumer
unregister - unregisters this consumer from the Pulp server
update - changes metadata of this consumer
pulp-consumer -u admin -p admin rpm --help
Usage: pulp-consumer [SUB_SECTION, ..] COMMAND
Description: manage RPM-related features
Available Commands:
bind - binds this consumer to a Pulp repository
repos - searches for repositories on the server
unbind - unbinds this consumer from a Pulp repository
+ This bug was cloned from Bugzilla Bug #1135463 +