Skip to content

Commit

Permalink
Fix [catch]'s usage message.
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Dec 19, 2009
1 parent aa6d047 commit b613b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Partcl/commands/main.pm
Expand Up @@ -43,7 +43,7 @@ INIT {

our sub catch(*@args) {
if +@args < 1 || +@args > 2 {
error('wrong # args: should be "catch command ?varName?"');
error('wrong # args: should be "catch script ?resultVarName? ?optionVarName?"');
}
my $code := @args[0];

Expand Down

0 comments on commit b613b9b

Please sign in to comment.