diff --git a/pkg/cmd/runsDelete.go b/pkg/cmd/runsDelete.go index 38f588cc..9b2a3257 100644 --- a/pkg/cmd/runsDelete.go +++ b/pkg/cmd/runsDelete.go @@ -82,7 +82,7 @@ func (cmd *RunsDeleteCommand) createCobraCommand( }, } - runsDeleteCobraCmd.PersistentFlags().StringVar(&cmd.values.runName, "name", "", "the name of the test run we want to delete.") + runsDeleteCobraCmd.Flags().StringVar(&cmd.values.runName, "name", "", "the name of the test run we want to delete.") runsDeleteCobraCmd.MarkFlagRequired("name")