Fix bug with set -e and command_help
This commit is contained in:
parent
65cd8eb81c
commit
fe973a967d
2
command
2
command
|
@ -144,7 +144,7 @@ Also see `readme` and `usage` commands.
|
||||||
|
|
||||||
command_help() {
|
command_help() {
|
||||||
local name="${1:-main}" title own body
|
local name="${1:-main}" title own body
|
||||||
title=$(_help_title "$name")
|
title=$(_help_title "$name") || true
|
||||||
if [[ -z "$title" ]]; then
|
if [[ -z "$title" ]]; then
|
||||||
body="${help[$name]}"
|
body="${help[$name]}"
|
||||||
title="$EXE $name"
|
title="$EXE $name"
|
||||||
|
|
Loading…
Reference in New Issue