diff --git a/hosts b/hosts index 952aaa7..004b37c 100755 --- a/hosts +++ b/hosts @@ -561,8 +561,10 @@ Description: Display help information for ${_ME} or a specified command. HEREDOC help() { - if [[ ${#_COMMAND_ARGV[@]} = 1 ]] + if [[ -n "${1:-}" ]] then + desc --get "${1}" + else cat <