diff options
author | merakor <cem@ckyln.com> | 2020-06-25 07:36:48 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-06-25 07:36:48 +0000 |
commit | 0b8280d311c1770872a4c985928885acfe174863 (patch) | |
tree | bbc91dc2954ad807daecb27677432a397842f110 /contrib/kiss-new | |
parent | ba3c8afd8d2dce82d47019ce6145e81cb746aca2 (diff) | |
download | cpt-0b8280d311c1770872a4c985928885acfe174863.tar.gz |
contrib: change usage outputs
FossilOrigin-Name: c30b2273b524acbeea427c290ace358adf68f53134ca97639e61e5e3c03194cb
Diffstat (limited to 'contrib/kiss-new')
-rwxr-xr-x | contrib/kiss-new | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/kiss-new b/contrib/kiss-new index 6d41da9..a068704 100755 --- a/contrib/kiss-new +++ b/contrib/kiss-new @@ -4,7 +4,7 @@ out() { printf '\033[1;33m-> \033[m%s\n' "$@" >&2 ;} die() { printf '\033[1;31m!> \033[m%s\n' "$@" >&2 ; exit 1 ;} -case "$1" in ''|--help|-h) out "usage: ${0##*/} <name> [version] [source]"; exit 0; esac +case "$1" in ''|--help|-h) out "usage: ${0##*/} [name] [version] [source]"; exit 0; esac [ -d "$1" ] && die "Package '$1' already exists." |