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
function usage() {
full=${1:-false}
local full=${1:-false}
cat <<EOF
Usage: $SCRIPT [-h] [-H] [-c config] command [OPTIONS]