benbernard/RecordStream — pull request #28 by tsibley (2013-12-30 19:33:05+00:00)
Title: Fix various --help-* options to recs-collate

Sets $this->{'CLUMPER_OPTIONS'} earlier in collate->init.

->parse_options, called in init between the changed hunks of this
commit, may call help option closures which call ->usage. In turn,
->usage expects ->init to have already set $this->{'CLUMPER_OPTIONS'}.

The error displayed before this commit is:

Can't call method "main_usage" on an undefined value at
lib/App/RecordStream/Operation/collate.pm line 164.

and then the generic help (regardless of any specific help option
given).