Skip to content

Commit

Permalink
fix: don't print help if the command fails on the pod
Browse files Browse the repository at this point in the history
  • Loading branch information
marianozunino committed Oct 1, 2024
1 parent 84f9ee5 commit 200fd00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ func NewRootCmd() *cobra.Command {
Run on Pod (ROP) is a tool to execute scripts or binaries on Kubernetes pods.
It simplifies the process of running files directly in your Kubernetes environment.`,
RunE: func(cmd *cobra.Command, args []string) error {
return runRop(cmd.Context(), cfg)
Run: func(cmd *cobra.Command, args []string) {
runRop(cmd.Context(), cfg)
},
}

Expand Down

0 comments on commit 200fd00

Please sign in to comment.