From 3ee0e683cada83c387788d5288b91fb0a468a406 Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Tue, 7 Dec 2010 11:32:40 +0000 Subject: [PATCH] script/makepkg: add help function to document available functions --- script/makepkg | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/script/makepkg b/script/makepkg index 367afaa..2ca6099 100755 --- a/script/makepkg +++ b/script/makepkg @@ -510,9 +510,78 @@ SHELL=/bin/sh TERM=${TERM} " +help() { + cat < +EOF +} + # Blind passthru for testing [ "${#}" ] && "${@}" # Todo: Clean up entrypoint to support proper options # Todo: Add methods to autoprocess a ports.lst file to produce packages # Todo: Unify chroot handling with makeworld + -- 2.42.0