Bug 1135463 - pulp-consumer --help returns unexpected output
Summary: pulp-consumer --help returns unexpected output
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: 2.4 Beta
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: pulp-bugs
QA Contact: Irina Gulina
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-29 11:50 UTC by Irina Gulina
Modified: 2015-02-28 22:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-28 22:17:18 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 505 0 None None None Never

Description Irina Gulina 2014-08-29 11:50:48 UTC
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

Comment 1 Brian Bouterse 2015-02-28 22:17:18 UTC
Moved to https://pulp.plan.io/issues/505


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