From e8552b471b1ddf32c3f73b792697d48fc0188a6b Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 9 Dec 2023 17:31:56 -0500 Subject: [PATCH] Require at least one FAULT_ID --- client-cli/pvc/cli/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client-cli/pvc/cli/cli.py b/client-cli/pvc/cli/cli.py index 2d58e3f8..2b3256a4 100644 --- a/client-cli/pvc/cli/cli.py +++ b/client-cli/pvc/cli/cli.py @@ -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): """