Description of problem: Cinder --help still lists cinder credentials as a valid command. As this command has already been deprecated we should cleanup cinder client's --help as well.
$ cinder credentials
/usr/lib/python3.6/site-packages/cinderclient/v2/shell.py:940: UserWarning: ``cinder credentials`` is deprecated, use ``openstack token issue`` indead.
"``cinder credentials`` is deprecated, use ``openstack token issue`` "
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Issue cinder --help see cinder credentials command.
2. Try to issue a cinder credentials get above error.
Fail to run a deprecated command, which is fine.
Cinder help shouldn't list deprecated commands once they were removed.
The cinder community needs to decide on when the deprecated v2 API will be removed. Until then, this bz behavior may be annoying, but doesn't cause a problem.
FWIW, this is on the list for the next major version bump of cinderclient: