From 24b1f99413e01eba7ea8be0c2472f504f986ed57 Mon Sep 17 00:00:00 2001 From: Evan Hosinski Date: Tue, 3 Jun 2025 20:08:40 -0400 Subject: [PATCH] Add mutually exclusive flags to targets command --- cmd/targets.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/targets.go b/cmd/targets.go index 4445a84..c09dd46 100644 --- a/cmd/targets.go +++ b/cmd/targets.go @@ -21,8 +21,8 @@ func init() { targetsCmd.Flags().BoolVarP(&targetsEmails, "emails", "E", false, "Output emails only (no passwords)") targetsCmd.Flags().StringVarP(&targetsDomain, "domain", "d", "", "Filter by domain (for emails and subdomains)") - // Mark output flag as required - targetsCmd.MarkFlagRequired("output") + // Add mutually exclusive flags to targets command + targetsCmd.MarkFlagsMutuallyExclusive("external", "internal", "subdomains", "emails") } var (