website: mention that -matrix and -merge are not yet released
@@ -99,6 +99,11 @@ This will become useful in a bit.
### The `-merge` flag
+{{% alert title="Unreleased feature" color="warning" %}}
+The `-merge` flag is only available on the master branch of Staticcheck.
+It will be part of the next release.
+{{% /alert %}}
+
Using the `-merge` flag, Staticcheck can merge the results of multiple runs.
It decides on a per-check basis whether any run or all runs have to have reported an issue for it to be valid.
It also takes into consideration which files were checked by which run, to reduce false negatives.
@@ -129,6 +134,11 @@ This multi-step workflow of generating per-run output and merging it makes it po
### The `-matrix` flag
+{{% alert title="Unreleased features" color="warning" %}}
+The `-matrix` flag is only available on the master branch of Staticcheck.
+It will be part of the next release.
+{{% /alert %}}
+
With the `-matrix` flag, you can instruct Staticcheck to check multiple build configurations at once and merge the results.
In other words, it automates running Staticcheck multiple times and merging results afterwards.
This is useful when all configurations can be checked on a single system, for example because you don't use cgo.
