Merge "Make CLI Order's type field a required argument"
This commit is contained in:
commit
643597a8b8
|
@ -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: '
|
||||
|
|
Loading…
Reference in New Issue