mitchellh/vagrant — pull request #1336 by ithinkihaveacat (2013-01-27 19:58:51+00:00)
Title: Return exit status of 1 on invalid command

Makes `vagrant destroyjj` and similar invalid commands return an exit code of 1, so that `vagrant destroyjj && vagrant up` works as expected. (i.e. the `vagrant up` is not executed.)

I don't really know Ruby so the test could be complete rubbish. Are there really no existing tests for `Vagrant::CLI`? I couldn't find any.