Skip to content

Commit

Permalink
Fix docs for language option (#792)
Browse files Browse the repository at this point in the history
Fixes a small issue in the docs for the language option.
  • Loading branch information
nene authored Oct 24, 2024
2 parents 9dc0a04 + d17de36 commit 2ad4028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/language.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Specifies the SQL dialect to use.
```ts
import { format } from 'sql-formatter';

const result = format('SELECT * FROM tbl', { dialect: 'sqlite' });
const result = format('SELECT * FROM tbl', { language: 'sqlite' });
```

## Options
Expand Down

0 comments on commit 2ad4028

Please sign in to comment.