Skip to content

On error in RunE, do not display usage #340

Closed
@vincentbernat

Description

@vincentbernat

Hey!

When an error is triggered by RunE, usage is displayed. This is a bit odd at this point, the usage is likely to be correct. I am using RunE to be able to get the errors from Execute() to display a detailed report. I have to set SilenceUsage in each RunE command. Is that the expected workflow?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions