From 0e0a7b8e649283837c3126c1160c977b32191656 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 31 Jul 2012 09:49:00 -0400 Subject: Rewrite opkbuild, add natural language support. --- (limited to 'lib') 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@@' +} -- cgit v0.9.1