File: grammalecte-cli.1

package info (click to toggle)
grammalecte 2.1.2%2Bds2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 70,196 kB
  • sloc: python: 17,988; javascript: 9,417; java: 4,716; xml: 144; makefile: 28; sh: 11
file content (78 lines) | stat: -rw-r--r-- 2,276 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
.TH GRAMMALECTE "1" "April 2021" "grammalecte-cli" "User Commands"
.SH NAME
grammalecte-cli \- command-line interface for grammalecte
.SH SYNOPSIS
.B grammalecte-cli
[\fI\,OPTION\/\fR]...
.SH DESCRIPTION
.PP
Grammalecte is a French language spellchecker, grammar checker and hyphenator.
.PP
.TP
\fB\-h, \-?, \-\-help\fP
show a help message and exit
.TP
\fB\-f, \-\-file\fI FILE\fP
parse file (UTF-8 required!) [on Windows, -f is similar to -ff]
.TP
\fB\-ff, \-\-file_to_file\fI FILE\fP
parse file (UTF-8 required!) and create a result file (*.res.txt)
.TP
\fB\-fff, \-\-interactive_file_to_file\fI FILE\fP
parse file (UTF-8 required!) and create a result file (*.res.txt)
.TP
\fB\-owe, \-\-only_when_errors\fP
display results only when there are errors
.TP
\fB\-j, \-\-json\fP
generate list of errors in JSON (only with option --file or --file_to_file)
.TP
\fB\-cl, \-\-concat_lines\fP
concatenate lines not separated by an empty paragraph (only with option --file
or --file_to_file)
.TP
\fB\-tf, \-\-textformatter\fP
auto-format text according to typographical rules (not with option --concat_lines)
.TP
\fB\-tfo, \-\-textformatteronly\fP
auto-format text and disable grammar checking (only with option --file or --file_to_file)
.TP
\fB\-ctx, \-\-context\fP
return errors with context (only with option --json)
.TP
\fB\-wss, \-\-with_spell_sugg\fP
add suggestions for spelling errors (only with option --file or --file_to_file)
.TP
\fB\-pdi, \-\-personal_dict\fI FILE\fP
load personal dictionary (JSON file)
.TP
\fB\-w, \-\-width\fI WIDTH\fP
width in characters (40 < \fIWIDTH\fP < 200; default: 100)

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

.TP
\fB\-lo, \-\-list_options\fP
list options
.TP
\fB\-lr, \-\-list_rules\fR [\fIRULE\fR]...\fP
list rules [regex pattern as filter]
.TP
\fB\-sug, \-\-suggest\fI WORD\fP
get suggestions list for given \fIWORD\fP
.TP
\fB\-on, \-\-opt-on\fR [\fIOPT\fR]...\fP
activate options
.TP
\fB\-off, \-\-opt-off\fR [\fIOPT\fR]...\fP
deactivate options
.TP
\fB\-roff, \-\-rule_off\fR [\fIRULE\fR]...\fP
deactivate rules
.TP
\fB\-d, \-\-debug\fR
debugging mode (only in interactive mode)

.SH "REPORTING BUGS"
Report bugs to  <http://code.grammalecte.net:8080/rptview?rn=1>