nutools/lib/script.template

16 lines
310 B
Plaintext
Raw Normal View History

2013-08-27 15:14:44 +04:00
#!/bin/bash
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
2023-01-25 17:28:34 +04:00
source "$(dirname -- "$0")/lib/ulib/auto" || exit 1
2013-08-27 15:14:44 +04:00
function display_help() {
2015-08-20 07:58:17 +04:00
uecho "$scriptname:
2013-08-27 15:14:44 +04:00
USAGE
$scriptname [options]
OPTIONS"
}
args=(--help '$exit_with display_help')
parse_args "$@"; set -- "${args[@]}"