diff --git a/doc/cask_language_reference/stanzas/appcast.md b/doc/cask_language_reference/stanzas/appcast.md index 0111a1b970..13c219c41f 100644 --- a/doc/cask_language_reference/stanzas/appcast.md +++ b/doc/cask_language_reference/stanzas/appcast.md @@ -24,7 +24,7 @@ The [`find-appcast`](https://github.com/Homebrew/homebrew-cask/blob/master/devel | key | value | | --------------- | ----------- | -| `must_contain:` | a custom string for `brew cask audit --appcast {{cask_file}}` to check against. | +| `must_contain:` | a custom string for `brew audit --appcast {{cask_file}}` to check against. | Sometimes a `version` doesn’t match a string on the webpage, in which case we tweak what to search for. Example: if `version` is `6.26.1440` and the appcast’s contents only show `6.24`, the check for “is `version` in the appcast feed” will fail. With `must_contain`, the check is told to “look for this string instead of `version`”. In the example, `must_contain: version.major_minor` is saying “look for `6.24`”, making the check succeed.