Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

No need to create command to call help.

Just call it right on the sqitch object, instead.
  • Loading branch information...
commit d2e9baea6ac79c5d8319381d1c2f88a983053d0b 1 parent cac8de4
@theory authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/App/Sqitch/
4 lib/App/Sqitch/
@@ -53,9 +53,7 @@ sub load {
die $_ unless /^Can't locate/;
# Suggest help if it's not a valid command.
- __PACKAGE__->new({ sqitch => $p->{sqitch} })->help(
- qq{"$p->{command}" is not a valid command.}
- );
+ $p->{sqitch}->help(qq{"$p->{command}" is not a valid command.});
# Merge the command-line options and configuration parameters
Please sign in to comment.
Something went wrong with that request. Please try again.