---
name: "grammalecte-cli"
section: "1"
platform: "linux"
package: "grammalecte-cli"
version: "2.1.2+ds2-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/grammalecte-cli"
---

# grammalecte-cli(1)

command-line interface for grammalecte

## NAME

grammalecte-cli - command-line interface for grammalecte

## SYNOPSIS

**grammalecte-cli** \[*OPTION*\]...

## DESCRIPTION

Grammalecte is a French language spellchecker, grammar checker and hyphenator.

- **-h, -?, --help**

  show a help message and exit

- **-f, --file** *FILE*

  **parse file (UTF-8 required!) \[on Windows, -f is similar to -ff\]**

- **-ff, --file\_to\_file** *FILE*

  **parse file (UTF-8 required!) and create a result file (\*.res.txt)**

- **-fff, --interactive\_file\_to\_file** *FILE*

  **parse file (UTF-8 required!) and create a result file (\*.res.txt)**

- **-owe, --only\_when\_errors**

  **display results only when there are errors**

- **-j, --json**

  **generate list of errors in JSON (only with option --file or --file\_to\_file)**

- **-cl, --concat\_lines**

  **concatenate lines not separated by an empty paragraph (only with option --file** **or --file\_to\_file)**

- **-tf, --textformatter**

  **auto-format text according to typographical rules (not with option --concat\_lines)**

- **-tfo, --textformatteronly**

  **auto-format text and disable grammar checking (only with option --file or --file\_to\_file)**

- **-ctx, --context**

  **return errors with context (only with option --json)**

- **-wss, --with\_spell\_sugg**

  **add suggestions for spelling errors (only with option --file or --file\_to\_file)**

- **-pdi, --personal\_dict** *FILE*

  **load personal dictionary (JSON file)**

- **-w, --width** *WIDTH*

  **width in characters (40 \<** *WIDTH* **\< 200; default: 100)**

  **supported values for** *WIDTH***:** **40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200**

- **-lo, --list\_options**

  **list options**

- **-lr, --list\_rules** \[*RULE*\]...

  *list rules \[regex pattern as filter\]*

- **-sug, --suggest** *WORD*

  **get suggestions list for given** *WORD*

- **-on, --opt-on** \[*OPT*\]...

  *activate options*

- **-off, --opt-off** \[*OPT*\]...

  *deactivate options*

- **-roff, --rule\_off** \[*RULE*\]...

  *deactivate rules*

- **-d, --debug**

  debugging mode (only in interactive mode)

## REPORTING BUGS

Report bugs to  \<http://code.grammalecte.net:8080/rptview?rn=1\>
