puppetlabs/puppet — pull request #850 by zaphod42 (2012-06-11 23:54:38+00:00)
Title: (#14901) duplicate args remove all args

The argument parsing had incorrectly swallowed an error caused by duplicate arguments which caused all arguments to be ignored. By changing the configuration of the argument parser to allow arguments to appear multiple times and then only taking the last value of each argument that error is avoided.

Taking the last value of any given argument preserves the behavior of 2.7.