Skip to content

Commit

Permalink
Change the separator to ','
Browse files Browse the repository at this point in the history
  • Loading branch information
Becivells committed Dec 30, 2021
1 parent a23068d commit 06b5b07
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions internal/cli/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ const (
Stdin_Mode
Query_Mode
File_Mode
DefaultField = ""
DefaultFieldSep = ","
DefaultField = ""
)

type Options struct {
Expand Down Expand Up @@ -156,8 +155,8 @@ func init() {
flags.BoolVarP(&args.FetchFullHostInfo, "fetch-fullHost-info", "ffi", false, "URL fetch, with scheme, hostname, port"),
flags.BoolVarP(&args.FetchTitlesOfDomain, "fetch-titles-ofDomain", "fto", false, "Fetch website title"),
flags.BoolVarP(&args.FetchJarmOfDomain, "fetch-jarm-ofDomain", "fjo", false, "Fetch website jarm"),
flags.StringVarP(&args.FetchFields, "fetch-fields", "ff", DefaultField, "Fetch by fields.eg: (ip,port)"),
flags.StringVar(&args.FetchFieldsSplit, "fetch-fields-split", "\t", "Specify characters to split data in different fields"),
flags.StringVarP(&args.FetchFields, "fetch-fields", "ff", DefaultField, "Fetch by fields.eg: (host,lastupdatetime)"),
flags.StringVar(&args.FetchFieldsSplit, "fetch-fields-split", ",", "Specify characters to split data in different fields"),
)
createGroup(
flags, "query", "Single query/cert/icon",
Expand Down

0 comments on commit 06b5b07

Please sign in to comment.