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

Docs: Fix suppress option for directives-in-multiple-files warning #3133

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions website/docs/guides/advanced/verbosity.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ That can be done by passing an appropriate option or by setting the appropriate

It is generally advised to not spread the `using` directives in multiple files, and put them in the
optional `project.scala` configuration file.
The relevant warnings can be suppressed with the `--suppress-outdated-dependency-warning` option.
The relevant warnings can be suppressed with the `--suppress-warning-directives-in-multiple-files` option.

```bash
scala-cli Deps1.sc Deps2.sc --suppress-outdated-dependency-warning
scala-cli Deps1.sc Deps2.sc --suppress-warning-directives-in-multiple-files
```

Alternatively, the global config key `suppress-warning.directives-in-multiple-files` can be used.
Expand Down Expand Up @@ -158,4 +158,4 @@ Alternatively, the global config key `suppress-warning.outdated-dependencies-fil

```bash
scala-cli config suppress-warning.outdated-dependencies-files true
```
```
Loading