HomePhorge

(#7248) Fail if two aliases of one option are passed...
97ae812f0a67Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#7248) Fail if two aliases of one option are passed...

From the command line, and other facades, it is fairly difficult to call an
action with two aliases of the same option in the invocation, but from the
Ruby API it would be relatively easy to achieve.

This is now checked, and raises an error, so that we don't accidentally have
strange or unusual behaviour coming out of the whole system.

Reviewed-By: Pieter van de Bruggen <pieter@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU1707f2779e37: Revert "maint: better error reporting for argument count mismatch."
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPU97ae812f0a67: (#7248) Fail if two aliases of one option are passed... (authored by Daniel Pittman <daniel@puppetlabs.com>).Apr 29 2011, 10:29 PM