Repository: raviqqe/muffet
Pull request #121 (2020-10-03 20:37:09)

Fix help message

codecov[bot]: # [Codecov](https://codecov.io/gh/raviqqe/muffet/pull/121?src=pr&el=h1) Report
> Merging [#121](https://codecov.io/gh/raviqqe/muffet/pull/121?src=pr&el=desc) into [master](https://codecov.io/gh/raviqqe/muffet/commit/e60229b83fbadcc3c62088537dc8458b50f0cb1c?el=desc) will **not change** coverage.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/raviqqe/muffet/pull/121/graphs/tree.svg?width=650&height=150&src=pr&token=qXJG42bGNw)](https://codecov.io/gh/raviqqe/muffet/pull/121?src=pr&el=tree)

```diff
@@           Coverage Diff           @@
##           master     #121   +/-   ##
=======================================
  Coverage   80.42%   80.42%           
=======================================
  Files          23       23           
  Lines         378      378           
=======================================
  Hits          304      304           
  Misses         62       62           
  Partials       12       12           
```


| [Impacted Files](https://codecov.io/gh/raviqqe/muffet/pull/121?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [arguments.go](https://codecov.io/gh/raviqqe/muffet/pull/121/diff?src=pr&el=tree#diff-YXJndW1lbnRzLmdv) | `100.00% <ø> (ø)` | |

------

[Continue to review full report at Codecov](https://codecov.io/gh/raviqqe/muffet/pull/121?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/raviqqe/muffet/pull/121?src=pr&el=footer). Last update [e60229b...11790fa](https://codecov.io/gh/raviqqe/muffet/pull/121?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).


Patch:
diff --git a/arguments.go b/arguments.go
index 8821207..08b7751 100644
--- a/arguments.go
+++ b/arguments.go
@@ -24,7 +24,7 @@ type arguments struct {
 	Verbose               bool     `short:"v" long:"verbose" description:"Show successful results too"`
 	SkipTLSVerification   bool     `long:"skip-tls-verification" description:"Skip TLS certificate verification"`
 	OnePageOnly           bool     `long:"one-page-only" description:"Only check links found in the given URL"`
-	Color                 color    `long:"color" description:"Color output." choice:"auto" choice:"always" choice:"never" default:"auto"`
+	Color                 color    `long:"color" description:"Color output" choice:"auto" choice:"always" choice:"never" default:"auto"`
 	Help                  bool     `short:"h" long:"help" description:"Show this help"`
 	Version               bool     `long:"version" description:"Show version"`
 	URL                   string
diff --git a/configuration.go b/configuration.go
index 925243c..4d02f3d 100644
--- a/configuration.go
+++ b/configuration.go
@@ -3,7 +3,7 @@ package main
 import "time"
 
 const (
-	version     = "2.2.0"
+	version     = "2.2.1"
 	agentName   = "muffet"
 	concurrency = 1024
 	tcpTimeout  = 5 * time.Second


Test patch:
diff --git a/.snapshots/TestHelp b/.snapshots/TestHelp
index 593e202..27ae6a6 100644
--- a/.snapshots/TestHelp
+++ b/.snapshots/TestHelp
@@ -25,7 +25,7 @@ Application Options:
       --skip-tls-verification               Skip TLS certificate verification
       --one-page-only                       Only check links found in the given
                                             URL
-      --color=[auto|always|never]           Color output. (default: auto)
+      --color=[auto|always|never]           Color output (default: auto)
   -h, --help                                Show this help
       --version                             Show version