Cookbook: Replace 'onoe' with 'odie'
Closes Homebrew/homebrew#47948. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
This commit is contained in:
parent
f4f2266923
commit
f239a448b2
@ -338,7 +338,7 @@ Three commands are provided for displaying informational messages to the user:
|
|||||||
* `opoo` for warning messages
|
* `opoo` for warning messages
|
||||||
* `odie` for error messages and immediately exiting
|
* `odie` for error messages and immediately exiting
|
||||||
|
|
||||||
In particular, when a test needs to be performed before installation use `onoe` to bail out gracefully. For example:
|
In particular, when a test needs to be performed before installation use `odie` to bail out gracefully. For example:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
if build.with?("qt") && build.with("qt5")
|
if build.with?("qt") && build.with("qt5")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user