From 151e0523689062af19319a70edad2d5ff82e126c Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz Date: Apr 10 2020 14:56:31 +0000 Subject: subr/pkgtool_init.subr:pkgtoolp_init_getopts_help(): correctly cat etc/pkgtool.usage given -h option. --- diff --git a/subr/pkgtool_init.subr b/subr/pkgtool_init.subr index f5eb21f..a4e6b4f 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)); };