Skip to content

Commit 2ad4028

Browse files
authored
Fix docs for language option (#792)
Fixes a small issue in the docs for the language option.
2 parents 9dc0a04 + d17de36 commit 2ad4028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Specifies the SQL dialect to use.
77
```ts
88
import { format } from 'sql-formatter';
99

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

1313
## Options

0 commit comments

Comments
 (0)