Skip to content

Update new-compiler-options.md: -no-indent instead of -noindent #204

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

Merged
merged 1 commit into from
May 12, 2021
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
2 changes: 1 addition & 1 deletion docs/compiler-options/new-compiler-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The current page only contains the options that were added in Scala 3.
| `-from-tasty` | Compile classes from tasty files. The arguments are .tasty or .jar files. |
| `-indent` | Together with -rewrite, remove {...} syntax when possible due to significant indentation. |
| `-new-syntax` | Require `then` and `do` in control expressions. |
| `-noindent` | Require classical {...} syntax, indentation is not significant. |
| `-no-indent` | Require classical {...} syntax, indentation is not significant. |
| `-old-syntax` | Require `(...)` around conditions. |
| `-pagewidth` | Set page width Default: 80. |
| `-print-lines` | Show source code line numbers. |
Expand Down