Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve 'shebang' help message wrt program *arguments* #1829

Merged
merged 1 commit into from Feb 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -12,7 +12,8 @@ import scala.cli.commands.shared.{HasSharedOptions, SharedOptions}
|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 `--`
|Normally, inputs and scala-cli options can be mixed. And program arguments have to be
|specified after `--`.
|
|```sh
|scala-cli [command] [scala_cli_options | input]... -- [program_arguments]...
Expand Down
3 changes: 2 additions & 1 deletion website/docs/reference/commands.md
Expand Up @@ -122,7 +122,8 @@ 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 `--`
Normally, inputs and scala-cli options can be mixed. And program arguments have to be
specified after `--`.

```sh
scala-cli [command] [scala_cli_options | input]... -- [program_arguments]...
Expand Down
3 changes: 2 additions & 1 deletion website/docs/reference/scala-command/commands.md
Expand Up @@ -55,7 +55,8 @@ 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 `--`
Normally, inputs and scala-cli options can be mixed. And program arguments have to be
specified after `--`.

```sh
scala-cli [command] [scala_cli_options | input]... -- [program_arguments]...
Expand Down
3 changes: 2 additions & 1 deletion website/docs/reference/scala-command/runner-specification.md
Expand Up @@ -2150,7 +2150,8 @@ 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 `--`
Normally, inputs and scala-cli options can be mixed. And program arguments have to be
specified after `--`.

```sh
scala-cli [command] [scala_cli_options | input]... -- [program_arguments]...
Expand Down