Files
dotfiles/tmux/powerline/lib/arg_processing.sh
2019-01-12 18:22:02 +01:00

10 lines
221 B
Bash

#! Check script arguments.
check_arg_side() {
local side="$1"
if ! [ "$side" == "left" -o "$side" == "right" ]; then
echo "Argument must be the side to handle {left, right} and not \"${side}\"."
exit 1
fi
}