Description of problem: --help is taken like a consumer ID Version-Release number of selected component (if applicable): >>rpm -qa | grep pulp-server pulp-server-2.4.1-0.4.beta.fc20.noarch How reproducible: always Steps to Reproduce: >> pulp-consumer status This consumer is not currently registered. >> pulp-consumer -u admin register --consumer-id --help Enter password: Consumer [--help] successfully registered >> pulp-consumer status This consumer is registered to the server [localhost] with the ID [--help].
In fact, any next string after --consumer-id is taken as consumer-id value. > pulp-consumer -u admin -p admin register --help Command: register Description: registers this consumer to the Pulp server Available Arguments: --consumer-id - (required) uniquely identifies the consumer; only alphanumeric, ., -, and _ allowed --display-name - user-readable display name for the consumer --description - user-readable description for the consumer --note - adds/updates/deletes key-value pairs to pragmatically identify the repository; pairs must be separated by an equal sign (e.g. key=value); multiple notes can be added by specifying this option multiple times; notes are deleted by specifying "" as the value >> pulp-consumer -u admin -p admin register --consumer-id --note Consumer [--note] successfully registered
Moved to https://pulp.plan.io/issues/498