rather than blindly use $1 as the command, look for the first argument that doesn't start with a -
rather than blindly use $1 as the command, look for the first argument that doesn't start with a -

OnBloom/dkr,JoelJ/dkr