From e2d354dadb4868f20c2f9c71da8d0e20a7be9d50 Mon Sep 17 00:00:00 2001 From: Jephte CLAIN Date: Fri, 17 Jan 2014 19:02:34 +0400 Subject: [PATCH] maj template --- lib/script.template | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/script.template b/lib/script.template index 0264703..36866c9 100755 --- a/lib/script.template +++ b/lib/script.template @@ -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"