Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsandeep committed Sep 22, 2023
1 parent acc5ff3 commit 0c0a130
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ UPDATE:

OUTPUT:
-o, -output string file to write output
-json write output in JSONL(ines) format
-or, -omit-raw omit raw dns response from jsonl output
-j, -json write output in JSONL(ines) format
-omit-raw, -or omit raw dns response from jsonl output

DEBUG:
-hc, -health-check run diagnostic check up
Expand Down
2 changes: 1 addition & 1 deletion internal/runner/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func ParseOptions() *Options {

flagSet.CreateGroup("output", "Output",
flagSet.StringVarP(&options.OutputFile, "output", "o", "", "file to write output"),
flagSet.BoolVar(&options.JSON, "json", false, "write output in JSONL(ines) format"),
flagSet.BoolVarP(&options.JSON, "json", "j", false, "write output in JSONL(ines) format"),
flagSet.BoolVarP(&options.OmitRaw, "or", "omit-raw", false, "omit raw dns response from jsonl output"),
)

Expand Down

0 comments on commit 0c0a130

Please sign in to comment.