Skip to content

helm diff upgrade --detailed-exitcode shows the command usage when diff exists #77

Closed

Description

@mumoshu

I'd expect it to be shown only on unknown flag errors.

The relevant issue in cobra indicates that this can be fixed by adding cmd.SilenceUsage = true in every RunE of cobra commands upgrade, revision and rollback.

Activity

  1. changed the title [-]`helm diff upgdate --detailed-exitcode` shows the command usage when diff exists[/-] [+]`helm diff upgrade --detailed-exitcode` shows the command usage when diff exists[/+] on Jul 25, 2018
  2. added a commit that references this issue on Jul 25, 2018
    939d962
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions