From 151e0523689062af19319a70edad2d5ff82e126c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Fri, 10 Apr 2020 15:56:31 +0100 Subject: subr/pkgtool_init.subr:pkgtoolp_init_getopts_help(): correctly cat etc/pkgtool.usage given -h option. --- subr/pkgtool_init.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subr/pkgtool_init.subr b/subr/pkgtool_init.subr index f5eb21fc..a4e6b4fa 100644 --- a/subr/pkgtool_init.subr +++ b/subr/pkgtool_init.subr @@ -87,7 +87,7 @@ pkgtoolp_init_getopts_help() { local _opt=""; while getopts a:b:hirst _opt 2>/dev/null; do case "${_opt}" in - h) cat etc/build.usage; exit 0; ;; + h) cat etc/pkgtool.usage; exit 0; ;; esac; done; shift $((${OPTIND}-1)); }; -- cgit v1.2.3