Permalink
Browse files

require subcommand

  • Loading branch information...
1 parent aac6641 commit 80d5f0c98da51ccfbbc1d9021efc25374ca44ab2 @motemen committed Feb 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/git-regret
View
@@ -27,7 +27,7 @@ sub git (@) {
}
}
-my $command = shift || 'create';
+my $command = shift or pod2usage();
my $git_user = git 'config', '--get', 'user.name';

0 comments on commit 80d5f0c

Please sign in to comment.