small improvements to some hack scripts

This commit is contained in:
Ryan Richard
2024-08-01 10:00:27 -07:00
parent 76f3430c68
commit f0cac8c5d3
4 changed files with 33 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Copyright 2023 the Pinniped contributors. All Rights Reserved.
# Copyright 2023-2024 the Pinniped contributors. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
set -euo pipefail
@@ -62,9 +62,6 @@ while (("$#")); do
;;
-*)
log_error "Unsupported flag $1" >&2
if [[ "$1" == *"active-directory"* ]]; then
log_error "Did you mean --get-active-directory-vars?"
fi
exit 1
;;
*)