From 2525d557efaeb4aea1d3875825911d02c45fa595 Mon Sep 17 00:00:00 2001 From: Kathryn Baldauf Date: Fri, 29 Aug 2025 14:19:44 -0700 Subject: [PATCH] Uninstaller: call usage if incorrect number of options are provided (#556) This PR improves the user experience when using the uninstall script to include usage output when an incorrect number of options are provided to the script. Signed-off-by: Kathryn Baldauf --- scripts/uninstall-container.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/uninstall-container.sh b/scripts/uninstall-container.sh index fddf8497..f600928c 100755 --- a/scripts/uninstall-container.sh +++ b/scripts/uninstall-container.sh @@ -49,6 +49,7 @@ done if [ $OPTS != 1 ]; then echo "Invalid number of options. Must provide either -d OR -k" + usage exit 1 fi