puppetlabs/puppet — pull request #766 by pcarlisle (2012-05-11 22:38:23+00:00)
Title: Interpret global version option only if no face

Some subcommands use --version for other purposes (particularly module), so
only interpret the --version or -V flag when no subcommand is specified. This
isn't the best solution, but it's good enough right now.