refactor: make arg processing order match docopt