maj template
This commit is contained in:
parent
d359e613b4
commit
e2d354dadb
|
@ -1,5 +1,6 @@
|
|||
#!/bin/bash
|
||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
source "$(dirname "$0")/ulib/ulib" || exit 1; urequire DEFAULTS
|
||||
|
||||
function display_help() {
|
||||
uecho "$scriptname:
|
||||
|
@ -10,10 +11,6 @@ USAGE
|
|||
OPTIONS"
|
||||
}
|
||||
|
||||
source "$(dirname "$0")/ulib/ulib" &&
|
||||
urequire DEFAULTS ||
|
||||
exit 1
|
||||
|
||||
parse_opts "${PRETTYOPTS[@]}" \
|
||||
--help '$exit_with display_help' \
|
||||
@ args -- "$@" && set -- "${args[@]}" || die "$args"
|
||||
|
|
Loading…
Reference in New Issue