velodrome/transform/plugins/state.go
func (s *StatePlugin) AddFlags(cmd *cobra.Command) {
	cmd.Flags().StringVar(&s.desc, "state", "", "Description of the state (eg: `opened,!merged,labeled:cool`)")
	cmd.Flags().IntSliceVar(&s.percentiles, "percentiles", []int{}, "Age percentiles for state")
}
func (s *StatePlugin) AddFlags(cmd *cobra.Command) {
	cmd.Flags().StringVar(&s.desc, "state", "", "Description of the state (eg: `opened,!merged,labeled:cool`)")
	cmd.Flags().IntSliceVar(&s.percentiles, "percentiles", []int{}, "Age percentiles for state")
}
func ( s * StatePlugin ) AddFlags ( cmd * cobra . Command ) { cmd . Flags ( ) . StringVar ( & s . desc , " " , " " , " " ) cmd . Flags ( ) . IntSliceVar ( & s . percentiles , " " , [ ] int { } , " " ) }
// AddFlags adds "state" and "percentiles" to the command help
AddFlags adds state and percentiles to the command help