divvun / libdivvun

lib for running gramcheck and other pipelines + cli; modules for CG→spelling, CG→feedback, tagging blanks
https://giellalt.github.io/proof/gramcheck/GrammarCheckerDocumentation.html
GNU General Public License v3.0
9 stars 1 forks source link

divvun-checker --json not documented by --help #38

Closed snomos closed 4 years ago

snomos commented 4 years ago

divvun-checker --help gives a.o. the following:

  -z, --null-flush     (Ignored, we always flush on <STREAMCMD:FLUSH>,
                       outputting \0 if --json).

but --json is not mentioned or documented anywhere in the --help output. Could there be other options that are not documented?

unhammer commented 4 years ago

--json is an argument of divvun-suggest, not divvun-checker.

The help output is generated directly from the options array, so it should be complete.

But I agree it's confusing that checker mentions a suggest-option, I'll reword that.