Skip to content

Commit c0046b5

Browse files
committed
Update the program name in the usage message
1 parent 3fbdffd commit c0046b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Preface/find_moth_genera.p6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ sub MAIN (*@*ARGS where .elems > 0 ) { # at least one argument
4444
#
4545
# https://docs.perl6.org/language/functions#index-entry-USAGE
4646
sub USAGE {
47-
print q:to/HERE/;
48-
perl6 find_moths.p6 FILE1 [FILE2 [FILE3] ...]
47+
print qq:to/HERE/;
48+
perl6 $*PROGRAM FILE1 [FILE2 [FILE3] ...]
4949
5050
Specify one or more files on the command line and this program
5151
will print all of the lines containing the word moth.

0 commit comments

Comments
 (0)