function usage() {
echo "Usage:" $(basename $0) Explain options here"
exit 0
}
[ -z $1 ] && { usage; }
Related
See also
set, unset, set -o, set -x, set -e, set +e, set -E, set +b, set -u, $?, exit, return, trap, PostgreSQL SET
if
, man test
, -z, elif
, Braket
- Command-line argument parsing,
argparse
, optparse
, click
, inquirer
, docopt
, help
, usage
, minimist