Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Better usage message when using -e
  • Loading branch information
patrickas committed Jun 9, 2010
1 parent 811cd66 commit 6e3624e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/MAIN.pm
Expand Up @@ -24,7 +24,7 @@ our sub USAGE-one-sub ($sub=&MAIN) {
@arguments.push($argument);
}

return $*PROGRAM_NAME ~ ' ' ~ @arguments.join(' ');
return ($*PROGRAM_NAME eq '-e' ?? "-e '...'" !! $*PROGRAM_NAME )~ ' ' ~ @arguments.join(' ');

}

Expand Down

0 comments on commit 6e3624e

Please sign in to comment.