HomePhorge

(#6972) Clean up OptParse name extraction a little.
0b97bd0df57dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#6972) Clean up OptParse name extraction a little.

During testing, an obvious cleanup showed up for the name extraction here, so
we implement it. This extends the regexp to better extract the data we want
rather than hacking it up post-match and having to do extra validation to make
sure it actually worked.

Reviewed-By: Dan Bode <dan@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUf732d6955296: Merge branch 'bug/master/6995-current-is-not-always-calculated-correctly'
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPU0b97bd0df57d: (#6972) Clean up OptParse name extraction a little. (authored by Daniel Pittman <daniel@puppetlabs.com>).Apr 7 2011, 1:36 AM