From 5159c8f6a62e47408a0b9580364ab74f268c980a Mon Sep 17 00:00:00 2001 From: psobolewskiPhD <76622105+psobolewskiPhD@users.noreply.github.com> Date: Sat, 2 Jan 2021 21:52:41 +0100 Subject: [PATCH] Correct missing ? in build.with?("qt5") Correct Messaging section: missing ? in: build.with?("qt5") --- docs/Formula-Cookbook.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Formula-Cookbook.md b/docs/Formula-Cookbook.md index ed744922b2..0844a00ec1 100644 --- a/docs/Formula-Cookbook.md +++ b/docs/Formula-Cookbook.md @@ -414,7 +414,7 @@ Three commands are provided for displaying informational messages to the user: In particular, when a test needs to be performed before installation use `odie` to bail out gracefully. For example: ```ruby -if build.with?("qt") && build.with("qt5") +if build.with?("qt") && build.with?("qt5") odie "Options --with-qt and --with-qt5 are mutually exclusive." end system "make", "install"