Commit 65de3110 authored by neil's avatar neil
Browse files

minor, fix error message

parent 150e9c8a
......@@ -104,13 +104,19 @@ _info() {
_err() {
_log "$@"
__red "$(_printargs "$@")" >&2
printf -- "[$(date)] " >&2
if [ -z "$2" ] ; then
__red "$1" >&2
else
__red "$1='$2'" >&2
fi
printf "\n" >&2
return 1
}
_usage() {
__red "$@"
__red "$@" >&2
printf "\n" >&2
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment