puppetlabs/puppet — pull request #1275 by domcleal (2012-11-13 13:16:18+00:00)
Title: (#17492) Fix --run_mode=foo global option parsing

parse_global_options doesn't properly find the index position for the run_mode
argument.

https://projects.puppetlabs.com/issues/17492