Skip to content

Commit

Permalink
Default -skip-aliased-networks to true
Browse files Browse the repository at this point in the history
  • Loading branch information
mm-david committed Sep 11, 2023
1 parent 5c90ca7 commit 2ff1ce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/mmdbinspect/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func (i *arrayFlags) Set(value string) error {

func usage() {
fmt.Printf(
"Usage: %s [-skipAliasedNetworks] -db path/to/db -db path/to/other/db 130.113.64.30/24 0:0:0:0:0:ffff:8064:a678\n", //nolint: lll
"Usage: %s [-skip-aliased-networks=true] -db path/to/db -db path/to/other/db 130.113.64.30/24 0:0:0:0:0:ffff:8064:a678\n", //nolint: lll
os.Args[0],
)
flag.PrintDefaults()
Expand All @@ -41,7 +41,7 @@ func main() {

flag.Var(&mmdb, "db", "Path to an mmdb file. You may pass this arg more than once.")
skipAliasedNetworks := flag.Bool(
"skipAliasedNetworks", false,
"skip-aliased-networks", true,
"Skip aliased networks (e.g. 6to4, Teredo). Ensures that IPv4 networks are only listed once.",
)

Expand Down

0 comments on commit 2ff1ce3

Please sign in to comment.