diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/swall | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/swall b/scripts/swall index b7cb841..b023534 100755 --- a/scripts/swall +++ b/scripts/swall @@ -55,6 +55,9 @@ while getopts "hcd:" option; do esac done +shift $((OPTIND - 1)) + +[ ${#} != 0 ] && err "${0}: Invalid usage" "Try '${0} -h' for help." if [ -n "${input}" ]; then case $(file -b --mime-type "${input}") in |