Skip to content

Commit

Permalink
show commands when no args given
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Dec 19, 2010
1 parent 7895f96 commit c45784a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/po
Expand Up @@ -11,4 +11,6 @@ use App::I18N::Command::Update;

my $cmd = shift @ARGV;
my @args = @ARGV;
App::I18N::Command->invoke( $cmd , @args );

$cmd ? App::I18N::Command->invoke( $cmd , @args )
: App::I18N::Command->invoke('help');

0 comments on commit c45784a

Please sign in to comment.