puppetlabs/puppet — pull request #2684 by dzautner (2014-05-21 07:41:30+00:00)
Title: Added correct exit code to failed CLI commands

Both NilSubcommand and UnknownSubcommand exited with code 0 even though
they are errors and should exit with code 1.
I have changed the puts statement with an abort one to make sure the cli
exits correctly.