From d80151b9eb4cb750d96e0309711c5f8e22870d1a Mon Sep 17 00:00:00 2001 From: "Arik Jones (aider)" Date: Sat, 14 Sep 2024 17:01:49 -0500 Subject: [PATCH] fix: reorder flag definitions in cmd/web.go --- cmd/web.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/web.go b/cmd/web.go index f2400c7..5d1a812 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -35,6 +35,7 @@ func init() { webCmd.Flags().IntVarP(&depth, "depth", "d", 0, "Depth of link traversal (default: 0, only scrape the given URLs)") webCmd.Flags().StringVar(&includeSelector, "css", "", "CSS selector to extract specific content") webCmd.Flags().StringSliceVar(&excludeSelectors, "exclude", []string{}, "CSS selectors to exclude from the extracted content (comma-separated)") + webCmd.Flags().StringVar(&includeSelector, "css", "", "CSS selector to extract specific content") } func runWeb(cmd *cobra.Command, args []string) error {