proper error when no commands given (todo refactor)