From 5112c3e6a0b83fd5a7c5bdd65ca312698c068de3 Mon Sep 17 00:00:00 2001 From: William Melody Date: Wed, 22 Apr 2020 11:45:47 -0700 Subject: [PATCH] Use consistent terminology in function documentation. GH-9 --- hosts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/hosts b/hosts index e6086ca..bb5c4e8 100755 --- a/hosts +++ b/hosts @@ -253,7 +253,7 @@ _main() { # Usage: # _function_exists "possible_function_name" # -# Returns: +# Exit Status: # 0 If a function with the given name is defined in the current environment. # 1 If not. # @@ -268,7 +268,7 @@ _function_exists() { # Usage: # _command_exists "possible_command_name" # -# Returns: +# Exit Status: # 0 If a command with the given name is defined in the current environment. # 1 If not. # @@ -283,7 +283,7 @@ _command_exists() { # Usage: # _contains "$item" "${list[*]}" # -# Returns: +# Exit Status: # 0 If the item is included in the list. # 1 If not. _contains() { @@ -323,7 +323,7 @@ _join() { # Usage: # _command_argv_includes "an_argument" # -# Returns: +# Exit Status: # 0 If the argument is included in `$_COMMAND_ARGV`, the program's command # argument list. # 1 If not. @@ -339,7 +339,7 @@ _command_argv_includes() { # Usage: # _blank "$an_argument" # -# Returns: +# Exit Status: # 0 If the argument is not present or null. # 1 If the argument is present and not null. _blank() { @@ -351,7 +351,7 @@ _blank() { # Usage: # _present "$an_argument" # -# Returns: +# Exit Status: # 0 If the argument is present and not null. # 1 If the argument is not present or null. _present() { @@ -363,7 +363,7 @@ _present() { # Usage: # _interactive_input # -# Returns: +# Exit Status: # 0 If the current input is interactive (eg, a shell). # 1 If the current input is stdin / piped input. _interactive_input() { @@ -375,7 +375,7 @@ _interactive_input() { # Usage: # _piped_input # -# Returns: +# Exit Status: # 0 If the current input is stdin / piped input. # 1 If the current input is interactive (eg, a shell). _piped_input() {