nutools/lib/script.template

17 lines
326 B
Bash
Executable File

#!/bin/bash
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
source "$(dirname "$0")/lib/ulib/ulib" || exit 1
urequire DEFAULTS
function display_help() {
uecho "$scriptname:
USAGE
$scriptname [options]
OPTIONS"
}
args=(--help '$exit_with display_help')
parse_args "$@"; set -- "${args[@]}"