diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-11-18 16:50:13 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-11-18 16:50:13 +0000 |
commit | 643597a8b87de47959ce7030d2fae86ca72b8f96 (patch) | |
tree | 31611e2f078adc84b28963910b2d8cd14e94af52 | |
parent | 88cd70df81166ea5f4a9454117dfdbe9d7bdd383 (diff) | |
parent | 098a0c8fc5bcd1c8c000781700bcafb3ace7fbdd (diff) | |
download | python-barbicanclient-643597a8b87de47959ce7030d2fae86ca72b8f96.tar.gz |
Merge "Make CLI Order's type field a required argument"
-rw-r--r-- | barbicanclient/barbican_cli/orders.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/barbicanclient/barbican_cli/orders.py b/barbicanclient/barbican_cli/orders.py index d6f3583..cbbeacf 100644 --- a/barbicanclient/barbican_cli/orders.py +++ b/barbicanclient/barbican_cli/orders.py @@ -25,10 +25,9 @@ class CreateOrder(show.ShowOne): def get_parser(self, prog_name): parser = super(CreateOrder, self).get_parser(prog_name) + parser.add_argument('type', help='the type of the order to create.') parser.add_argument('--name', '-n', help='a human-friendly name.') - parser.add_argument('--type', '-p', - help='the type of the order to create.') parser.add_argument('--algorithm', '-a', default='aes', help='the algorithm to be used with the ' 'requested key (default: ' |