From 2f131ccd027edfa8a5a548b8b649f1dff6ff3097 Mon Sep 17 00:00:00 2001 From: M09Ic Date: Fri, 2 Jun 2023 16:57:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8=E5=8F=82?= =?UTF-8?q?=E6=95=B0,=20=E4=BF=AE=E5=A4=8D=E7=A4=BA=E4=BE=8B=E5=BC=95?= =?UTF-8?q?=E5=8F=B7=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/option.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/option.go b/internal/option.go index d4da272..c0a28ca 100644 --- a/internal/option.go +++ b/internal/option.go @@ -64,8 +64,8 @@ type FunctionOptions struct { } type OutputOptions struct { - Match string `long:"match" description:"String, custom match function, e.g.: --match current.Status != 200" json:"match,omitempty"` - Filter string `long:"filter" description:"String, custom filter function, e.g.: --filter current.Body contains 'hello'" json:"filter,omitempty"` + Match string `long:"match" description:"String, custom match function, e.g.: --match 'current.Status != 200''" json:"match,omitempty"` + Filter string `long:"filter" description:"String, custom filter function, e.g.: --filter 'current.Body contains \"hello\"'" json:"filter,omitempty"` OutputFile string `short:"f" long:"file" description:"String, output filename" json:"output_file,omitempty"` Format string `short:"F" long:"format" description:"String, output format, e.g.: --format 1.json"` FuzzyFile string `long:"fuzzy-file" description:"String, fuzzy output filename" json:"fuzzy_file,omitempty"` @@ -95,7 +95,6 @@ type PluginOptions struct { Common bool `long:"common" description:"Bool, enable common file found"` Crawl bool `long:"crawl" description:"Bool, enable crawl"` CrawlDepth int `long:"crawl-depth" default:"3" description:"Int, crawl depth"` - CrawlScope string `long:"crawl-scope" description:"Int, crawl scope (todo)"` } type ModeOptions struct {