declare variable full as local in usage

This commit is contained in:
2026-08-22 06:51:56 +02:00
parent e065ab2cd7
commit 4fb949c26e
+1 -1
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
function usage() { function usage() {
full=${1:-false} local full=${1:-false}
cat <<EOF cat <<EOF
Usage: $SCRIPT [-h] [-H] [-c config] command [OPTIONS] Usage: $SCRIPT [-h] [-H] [-c config] command [OPTIONS]