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

Commit

Permalink
Merge pull request #1913 from njhale/events/drop-details-flag
Browse files Browse the repository at this point in the history
Drop details flag from acorn events subcommand (#1906)
  • Loading branch information
njhale authored Jul 11, 2023
2 parents 1bc1f0c + 4897591 commit ea9b439
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion docs/docs/100-reference/01-command-line/acorn_events.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ acorn events [flags] [PREFIX]
### Options

```
-d, --details Don't strip event details from response
-f, --follow Follow the event log
-h, --help help for events
-o, --output string Output format (json, yaml, {{gotemplate}})
Expand Down
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 ea9b439

Please sign in to comment.