This commit is contained in:
parent
228b32f81a
commit
02603c84b4
8
script
8
script
|
@ -3,13 +3,13 @@
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
printf "Usage: %s [-l debug|info|error] [-h]\n" "$0"
|
printf "Usage: %s [-l DEBUG_LEVEL] [-h]\n" "$0"
|
||||||
}
|
}
|
||||||
|
|
||||||
help() {
|
help() {
|
||||||
cat << EOH
|
cat << EOH
|
||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
$0 [-h]
|
$0 [-l DEBUG_LEVEL] [-h]
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@ help() {
|
||||||
|
|
||||||
-h Show this help
|
-h Show this help
|
||||||
|
|
||||||
-l debug|info|error
|
-l debug|info|notice|warning|error
|
||||||
Debug level
|
Debug level
|
||||||
EOH
|
EOH
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue