Skip to content

Better error message when trying to use output-only format for input #8416

Closed
@lassik

Description

@lassik

Describe your proposed improvement and the problem it solves.

$ pandoc hello.adoc -t hello.html
Unknown input format asciidoc

Pandoc can write asciidoc, but cannot read it. It's confusing that the error message says the asciidoc format is "unknown" to pandoc. Could the message be altered to say "asciidoc is supported only as an output format, not for input" or something similar?

Describe alternatives you've considered.

Leave the error message as is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions