diff options
author | P. J. McDermott <pjm@nac.net> | 2012-07-31 09:49:00 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-07-31 09:49:00 (EDT) |
commit | 0e0a7b8e649283837c3126c1160c977b32191656 (patch) | |
tree | d0858ac666ed2ceba074fb4adb758c64f91150ee /lib | |
parent | 1ea5cf50bccd1c5ae7707b524071dbb2623e9b4c (diff) |
Rewrite opkbuild, add natural language support.
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@@' +} |