HomePhorge

maint: Fix cert app to print help and exit if no subcommand
778127d0c3cfUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

maint: Fix cert app to print help and exit if no subcommand

In 2.6.x this was the behavior, but the changes to the way options
parsing worked in 2.7.x to support faces changed the behavior of how
help was called.

This resulted in the follow unhelpful error message when you just called
puppet cert:

/Users/matthewrobinson/work/puppet/lib/puppet/ssl/certificate_authority/interface.rb:85:in `method='
Invalid method  to apply

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

Details

Provenance
Matt Robinson <matt@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU62b6b0c43880: Merge branch 'tickets/2.7.x/7293' into 2.7.x
Branches
Unknown
Tags
Unknown

Event Timeline

Matt Robinson <matt@puppetlabs.com> committed rPU778127d0c3cf: maint: Fix cert app to print help and exit if no subcommand (authored by Matt Robinson <matt@puppetlabs.com>).Jul 26 2011, 1:27 AM