Skip to content

Commit

Permalink
fix docs for language option
Browse files Browse the repository at this point in the history
  • Loading branch information
JSandler committed Oct 23, 2024
1 parent 9dc0a04 commit d17de36
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 d17de36

Please sign in to comment.