usage

From wikieduonline
Jump to navigation Jump to search

function usage() {
    echo "Usage:" $(basename $0) Explain options here"
    exit 0
}

[ -z $1 ] && { usage; }

Related

See also

Advertising: