Require at least one FAULT_ID

This commit is contained in:
Joshua Boniface 2023-12-09 17:31:56 -05:00
parent fc443a323b
commit e8552b471b
1 changed files with 2 additions and 2 deletions

View File

@ -538,7 +538,7 @@ def cli_cluster_fault_list(limit, format_function):
name="ack",
short_help="Acknowledge a cluster fault.",
)
@click.argument("fault_id", nargs=-1)
@click.argument("fault_id", nargs=-1, required=True)
@connection_req
def cli_cluster_fault_acknowledge(fault_id):
"""
@ -575,7 +575,7 @@ def cli_cluster_fault_acknowledge_all():
name="delete",
short_help="Delete a cluster fault.",
)
@click.argument("fault_id", nargs=-1)
@click.argument("fault_id", nargs=-1, required=True)
@connection_req
def cli_cluster_fault_delete(fault_id):
"""