maj du modèle

This commit is contained in:
Jephte CLAIN 2013-10-31 00:07:15 +04:00
parent e1abfe736d
commit 9a0343e59f
1 changed files with 4 additions and 5 deletions

View File

@ -1,11 +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" &&
urequire DEFAULTS ||
exit 1
OENC="$UTF8"
function display_help() {
uecho "$scriptname:
@ -15,6 +10,10 @@ USAGE
OPTIONS"
}
source "$(dirname "$0")/ulib/ulib" &&
urequire DEFAULTS ||
exit 1
parse_opts "${PRETTYOPTS[@]}" \
--help '$exit_with display_help' \
@ args -- "$@" && set -- "${args[@]}" || die "$args"