printf
This commit is contained in:
parent
597c801bdf
commit
0deb0b449c
4
sx-open
4
sx-open
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user