Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Drop details flag from acorn events subcommand
Browse files Browse the repository at this point in the history
Remove the non-functional `--details` flag that was left exposed on
the acorn events subcommand.

Signed-off-by: Nick Hale <4175918+njhale@users.noreply.github.com>
  • Loading branch information
njhale committed Jul 11, 2023
1 parent 4ed75e7 commit 54cf2f0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions pkg/cli/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,10 @@ func NewEvent(c CommandContext) *cobra.Command {
}

type Events struct {
Tail int `usage:"Return this number of latest events" short:"t"`
Follow bool `usage:"Follow the event log" short:"f"`
Details bool `usage:"Don't strip event details from response" short:"d"`
Output string `usage:"Output format (json, yaml, {{gotemplate}})" short:"o"`
client ClientFactory
Tail int `usage:"Return this number of latest events" short:"t"`
Follow bool `usage:"Follow the event log" short:"f"`
Output string `usage:"Output format (json, yaml, {{gotemplate}})" short:"o"`
client ClientFactory
}

func (e *Events) Run(cmd *cobra.Command, args []string) error {
Expand Down

0 comments on commit 54cf2f0

Please sign in to comment.