aboutsummaryrefslogtreecommitdiffstats
path: root/docs/External-Commands.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/External-Commands.md')
-rw-r--r--docs/External-Commands.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/External-Commands.md b/docs/External-Commands.md
index 881a1293a..65282fcb1 100644
--- a/docs/External-Commands.md
+++ b/docs/External-Commands.md
@@ -16,7 +16,7 @@ In both cases, the command file should be executable (`chmod +x`) and live somew
### Ruby commands
An external command `extcmd` implemented as a Ruby command should be named `brew-extcmd.rb`. The command is executed by doing a `require` on the full pathname. As the command is `require`d, it has full access to the Homebrew "environment", i.e. all global variables and modules that any internal command has access to.
-The command may `Kernel.exit` with a status code if it needs to; if it doesn't explicitly exit then Homebrew will return 0.
+The command may `Kernel.exit` with a status code if it needs to; if it doesn't explicitly exit then Homebrew will return `0`.
### Shell scripts
A shell script for a command named `extcmd` should be named `brew-extcmd`. This file will be run via `exec` with some Homebrew variables set as environment variables, and passed any additional command-line arguments.