The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #6624

Command line help options should be handled more consistently

Added by Matt Robinson about 3 years ago.

Status:AcceptedStart date:03/07/2011
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Affected Puppet version: Branch:
Keywords:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket may be automatically exported to the PUP project on JIRA using the button below:


Description

When merging 2.6.next into next I noticed that some of how we deal with help text on the command line caused a test failure for the cert app because we didn’t print the help and exit when there were no arguments. Different applications dealt with help differently. Some exited explicitly afterwards, some exit within the help method, some make different assumptions about what should be done if there are no arguments. So there’s inconsistency between applications and between next and 2.6.next versions of puppet.

Also available in: Atom PDF