Skip to content

Commit

Permalink
Change to actual variable name
Browse files Browse the repository at this point in the history
$? would refer to a compile-time variable which does not actually exist.
  • Loading branch information
JJ committed Jan 10, 2019
1 parent f329d6c commit 66f7469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Main.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ my sub RUN-MAIN(&main, $mainline, :$in-as-argsfiles) {
Capture.new( list => $positional.List, hash => %named )
}

# Generate $?USAGE string (default usage info for MAIN)
# Generate $*USAGE string (default usage info for MAIN)
sub default-generate-usage(&, |capture) {
my $no-named-after = nqp::isfalse(%sub-main-opts<named-anywhere>);

Expand Down

0 comments on commit 66f7469

Please sign in to comment.