Merge "Remove --id option for autohold_delete/autohold_info"
This commit is contained in:
commit
81e3508938
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
other:
|
||||||
|
- |
|
||||||
|
The --id option to both the autohold-delete and autohold-info zuul
|
||||||
|
CLI commands has been removed.
|
|
@ -204,16 +204,14 @@ class Client(zuul.cmd.ZuulApp):
|
||||||
cmd_autohold_delete = subparsers.add_parser(
|
cmd_autohold_delete = subparsers.add_parser(
|
||||||
'autohold-delete', help='delete autohold request')
|
'autohold-delete', help='delete autohold request')
|
||||||
cmd_autohold_delete.set_defaults(func=self.autohold_delete)
|
cmd_autohold_delete.set_defaults(func=self.autohold_delete)
|
||||||
cmd_autohold_delete.add_argument('--id',
|
cmd_autohold_delete.add_argument('id', metavar='REQUEST_ID',
|
||||||
help='request ID',
|
help='the hold request ID')
|
||||||
required=True)
|
|
||||||
|
|
||||||
cmd_autohold_info = subparsers.add_parser(
|
cmd_autohold_info = subparsers.add_parser(
|
||||||
'autohold-info', help='retrieve autohold request detailed info')
|
'autohold-info', help='retrieve autohold request detailed info')
|
||||||
cmd_autohold_info.set_defaults(func=self.autohold_info)
|
cmd_autohold_info.set_defaults(func=self.autohold_info)
|
||||||
cmd_autohold_info.add_argument('--id',
|
cmd_autohold_info.add_argument('id', metavar='REQUEST_ID',
|
||||||
help='request ID',
|
help='the hold request ID')
|
||||||
required=True)
|
|
||||||
|
|
||||||
cmd_autohold_list = subparsers.add_parser(
|
cmd_autohold_list = subparsers.add_parser(
|
||||||
'autohold-list', help='list autohold requests')
|
'autohold-list', help='list autohold requests')
|
||||||
|
|
Loading…
Reference in New Issue