This commit is contained in:
Jack L. Frost 2015-03-10 01:29:49 +03:00
parent 597c801bdf
commit 0deb0b449c
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
cfg_file="$HOME/.config/sx-open.cfg"
[[ -f "$cfg_file" ]] && { source "$cfg_file"; }
usage() { echo "${0##*/} <uri/file>"; }
usage() { printf '%s <uri/file>\n' "${0##*/}"; }
handle_uri() {
local target="$1"
@ -51,7 +51,7 @@ main() {
}
}
[[ "$?" -gt 0 ]] && { echo "No handlers found for $target"; }
[[ "$?" -gt 0 ]] && { printf "No handlers found for %s\n" "$target"; }
return 0
}