diff --git a/share/examples/jails/jib b/share/examples/jails/jib index acf64acbeef3..b7d50f5d4c90 100755 --- a/share/examples/jails/jib +++ b/share/examples/jails/jib @@ -164,9 +164,11 @@ usage() action_usage() { - local usage action="$1" + local usage descr action="$1" eval usage=\"\$jib_${action}_usage\" echo "Usage: $pgm $usage" >&2 + eval descr=\"\$jib_${action}_descr\" + printf "\t%s\n" "$descr" exit $FAILURE } diff --git a/share/examples/jails/jng b/share/examples/jails/jng index f9af70c1805e..c243001cf951 100755 --- a/share/examples/jails/jng +++ b/share/examples/jails/jng @@ -166,9 +166,11 @@ usage() action_usage() { - local usage action="$1" + local usage descr action="$1" eval usage=\"\$jng_${action}_usage\" echo "Usage: $pgm $usage" >&2 + eval descr=\"\$jng_${action}_descr\" + printf "\t%s\n" "$descr" exit $FAILURE }