Skip to content

Do not output "export formats" for consistency check help #13275

@koppor

Description

@koppor

I run

./gradlew :jabkit:run --args="check-consistency --help"

I get

Usage: jabkit check-consistency [-dhp] --input=<inputFile>
                                [--output-format=<outputFormat>]
Check consistency of the database.
  -d, --debug               Enable debug output
  -h, --help                display this help message
      --input=<inputFile>   Input BibTeX file
      --output-format=<outputFormat>
                            Output format: txt or csv
  -p, --porcelain           Enable script-friendly output

Available export formats:
HTML                                   : html
Simple HTML                            : simplehtml
DocBook 5.1                            : docbook5
...
EndNote XML                            : endnote

It is not export format, but output format.

--> The usage should output "Available export formats" only if a command with export formats is asked for --help

(Note, you also can also achieve this by ./gg.cmd gradle :jabkit:run --args="check-consistency --help" if you place gg.cmd in the JabRef source repository)

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions