Skip to content

Commit

Permalink
run: hide --dedicated flag from help output
Browse files Browse the repository at this point in the history
  • Loading branch information
bostrt committed Dec 6, 2022
1 parent 2da8031 commit e484eed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ func NewCmdRun() *cobra.Command {
cmd.Flags().IntVar(&o.timeout, "timeout", runTimeoutSeconds, "Execution timeout in seconds")
cmd.Flags().BoolVarP(&o.watch, "watch", "w", false, "Keep watch status after running")

// Hide dedicated flag since this is for development only
cmd.Flags().MarkHidden("dedicated")

return cmd
}

Expand Down

0 comments on commit e484eed

Please sign in to comment.