Skip to content

Commit

Permalink
Fix generate help for shebang (#616)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexandre Archambault <alexarchambault@users.noreply.github.com>
  • Loading branch information
lwronski and alexarchambault committed Feb 4, 2022
1 parent b30fee3 commit c127772
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ package scala.cli.commands
import caseapp._

@HelpMessage(
"""|This command is an equivalent of `run`, but it changes the way how
|`scala-cli` parses it's command-line arguments in order to be compatibility
"""|Like 'run', but more handy from shebang scripts
|
|This command is equivalent to `run`, but it changes the way
|`scala-cli` parses its command-line arguments in order to be compatible
|with shebang scripts.
|
|Normally, inputs and scala-cli options can be mixed. Program have to be specified after `--`
Expand Down
6 changes: 4 additions & 2 deletions website/docs/reference/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,10 @@ Accepts options:

## `shebang`

This command is an equivalent of `run`, but it changes the way how
`scala-cli` parses it's command-line arguments in order to be compatibility
Like 'run', but more handy from shebang scripts

This command is equivalent to `run`, but it changes the way
`scala-cli` parses its command-line arguments in order to be compatible
with shebang scripts.

Normally, inputs and scala-cli options can be mixed. Program have to be specified after `--`
Expand Down

0 comments on commit c127772

Please sign in to comment.