HomePhorge

(#6749) Extract the action from the arguments cleanly.
cec3b6e2627eUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#6749) Extract the action from the arguments cleanly.

This adds a test to verify that we are correctly removing the action name from
the set of arguments passed to the string action, then cleans up the previous
code so we don't need to mutilate the command line arguments: we can just
extract it from the resultant set of information.

Reviewed-By: Nick Lewis <nick@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU5a0b547f3289: (#6749) Fix optional vs mandatory argument handling.
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPUcec3b6e2627e: (#6749) Extract the action from the arguments cleanly. (authored by Daniel Pittman <daniel@puppetlabs.com>).Apr 4 2011, 10:32 PM