Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ func Execute() error {

func init() {
rootCmd.PersistentFlags().IntVarP(&batchSize, "batch-size", "b", 25, "Number of contexts to process in parallel")
rootCmd.PersistentFlags().StringArrayVar(&filterPatterns, "include", []string{}, "Include contexts by name using regex pattern (can be specified multiple times for OR logic)")
rootCmd.PersistentFlags().StringArrayVarP(&filterPatterns, "include", "i", []string{}, "Include contexts by name using regex pattern (can be specified multiple times for OR logic)")
rootCmd.PersistentFlags().StringArrayVar(&filterPatterns, "filter", []string{}, "Alias for --include")
rootCmd.PersistentFlags().MarkDeprecated("filter", "use --include instead")
rootCmd.PersistentFlags().StringArrayVar(&excludePatterns, "exclude", []string{}, "Exclude contexts by name using regex pattern (can be specified multiple times for OR logic)")
rootCmd.PersistentFlags().StringArrayVarP(&excludePatterns, "exclude", "e", []string{}, "Exclude contexts by name using regex pattern (can be specified multiple times for OR logic)")
rootCmd.AddCommand(versionCmd)
rootCmd.AddCommand(getCmd)
rootCmd.AddCommand(logsCmd)
Expand Down
Loading