aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-03-12 10:47:02 +0000
committermerakor <cem@ckyln.com>2021-03-12 10:47:02 +0000
commitdc0e7a47c30646d3f686871920b25c3bf9c7acbe (patch)
tree893ebeb3189728c3599b90357db94962725c33f2
parentc4e330cc69b45eef2450dd3b45dc2267d3e469fe (diff)
downloadcpt-dc0e7a47c30646d3f686871920b25c3bf9c7acbe.tar.gz
cpt-chroot: use standard usage output
FossilOrigin-Name: a078c4bace267dd68c8bd4454d01bedbb91a30048c6ed2b3ff63ebde8a170c57
-rwxr-xr-xcontrib/cpt-chroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cpt-chroot b/contrib/cpt-chroot
index 2524b68..fa66e84 100755
--- a/contrib/cpt-chroot
+++ b/contrib/cpt-chroot
@@ -5,7 +5,7 @@ log() {
printf '\033[32m->\033[m %s.\n' "$*"
}
-usage() { printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} [dir]" ; exit 0 ;}
+usage() { printf '%s [dir]\n' "${0##*/}"; exit 0;}
die() {
log "$*" >&2