From bf3946c4011b0d3b4785df61cb2c6bc28d89da30 Mon Sep 17 00:00:00 2001 From: Bruno Schaatsbergen Date: Sun, 3 Dec 2023 01:03:59 +0100 Subject: [PATCH] chore: remove trailing newline --- cmd/contains.go | 2 +- cmd/count.go | 2 +- cmd/overlaps.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/contains.go b/cmd/contains.go index 0f7fc49..b7aa78f 100644 --- a/cmd/contains.go +++ b/cmd/contains.go @@ -14,7 +14,7 @@ const ( "cidr contains 10.0.0.0/16 10.0.14.5\n" + "\n" + "# Check whether an IPv6 CIDR range contains a given IPv6 address\n" + - "cidr contains 2001:db8:1234:1a00::/106 2001:db8:1234:1a00::\n" + "cidr contains 2001:db8:1234:1a00::/106 2001:db8:1234:1a00::" ) var ( diff --git a/cmd/count.go b/cmd/count.go index 44da4dd..4237849 100644 --- a/cmd/count.go +++ b/cmd/count.go @@ -14,7 +14,7 @@ const ( "cidr count 10.0.0.0/16\n" + "\n" + "# Return the count of all distinct host addresses within a given IPv6 CIDR range\n" + - "cidr count 2001:db8:1234:1a00::/106\n" + "cidr count 2001:db8:1234:1a00::/106" ) var ( diff --git a/cmd/overlaps.go b/cmd/overlaps.go index 1e976f8..de9cd1d 100644 --- a/cmd/overlaps.go +++ b/cmd/overlaps.go @@ -14,7 +14,7 @@ const ( "cidr overlaps 10.0.0.0/16 10.0.14.0/22\n" + "\n" + "# Check whether 2 IPv6 CIDR ranges overlap\n" + - "cidr overlaps 2001:db8:1111:2222:1::/80 2001:db8:1111:2222:1:1::/96\n" + "cidr overlaps 2001:db8:1111:2222:1::/80 2001:db8:1111:2222:1:1::/96" ) var overlapsCmd = &cobra.Command{