Rename -s option to -S

Now to sort list of artifacts by some field cli accepts
-s option. Unfortunatelly this option appeared in openstack
client and we have to remane ours.

By tradition we use capital letters for conflicting options,
therefore we should rename -s to -S.

Change-Id: Ic1ab7f28112f04e21ed3d6e3a018c5fc5d44e314
This commit is contained in:
Mike Fedosin 2018-01-10 21:20:14 +01:00
parent 05c44532a4
commit bf74fb428e
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class ListArtifacts(command.Lister):
help='Filtering artifact list by a user-defined property.',
)
parser.add_argument(
'--sort', '-s',
'--sort', '-S',
default='name:asc',
metavar='<key>[:<direction>]',
help='Comma-separated list of sort keys and directions in the '