diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/messages.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/messages.sh b/lib/messages.sh index e476954..3894778 100644 --- a/lib/messages.sh +++ b/lib/messages.sh @@ -63,3 +63,15 @@ oh_info() printf '\n' return 0 } + +oh_help() +{ + _help_str="$(eval echo "\$\{oh_str_help_${0##*/}\}")" + : "${_help_str:=${oh_str_help_none}}" + printf '%s\n' "${_help_str}" +} + +oh_version() +{ + printf "${oh_str_version}\n" "${0##*/}" '@@PACKAGE@@' '@@VERSION@@' +} |