Skip to content

Commit c127772

Browse files
Fix generate help for shebang (#616)
Co-authored-by: Alexandre Archambault <[email protected]>
1 parent b30fee3 commit c127772

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

modules/cli/src/main/scala/scala/cli/commands/ShebangOptions.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ package scala.cli.commands
33
import caseapp._
44

55
@HelpMessage(
6-
"""|This command is an equivalent of `run`, but it changes the way how
7-
|`scala-cli` parses it's command-line arguments in order to be compatibility
6+
"""|Like 'run', but more handy from shebang scripts
7+
|
8+
|This command is equivalent to `run`, but it changes the way
9+
|`scala-cli` parses its command-line arguments in order to be compatible
810
|with shebang scripts.
911
|
1012
|Normally, inputs and scala-cli options can be mixed. Program have to be specified after `--`

website/docs/reference/commands.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,10 @@ Accepts options:
200200

201201
## `shebang`
202202

203-
This command is an equivalent of `run`, but it changes the way how
204-
`scala-cli` parses it's command-line arguments in order to be compatibility
203+
Like 'run', but more handy from shebang scripts
204+
205+
This command is equivalent to `run`, but it changes the way
206+
`scala-cli` parses its command-line arguments in order to be compatible
205207
with shebang scripts.
206208

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

0 commit comments

Comments
 (0)