Project

General

Profile

« Previous | Next » 

Revision 3fcffcea

Added by jeremyevans (Jeremy Evans) almost 5 years ago

Fix default argument values for OptParse::Switch#summarize

The documentation describes these arguments being hashes, and the method
is called with hashes, so a hash default makes more sense.

The method would fail previously if called without arguments and @short
or @long contained a non-integer value.

Fixes [Bug #10928]