From e5a6bf1d845724a1547d87c01c5391430c58fec5 Mon Sep 17 00:00:00 2001 From: deepend Date: Wed, 2 Aug 2023 14:10:04 -0600 Subject: [PATCH] made some little improvements --- tilde | 203 ++++++++++++++++++++++++++++++---------------------------- 1 file changed, 105 insertions(+), 98 deletions(-) diff --git a/tilde b/tilde index 913468b..e928c7b 100755 --- a/tilde +++ b/tilde @@ -74,34 +74,34 @@ prompt_confirm() { } help_message() { - printf "%s version %s\n" "$PROGNAME" "$VERSION" - printf "wrapper for user-submitted scripts\n" - printf "supports submission and admin approval\n" - usage + cat <<-EOF +Usage: $PROGNAME [options] [command] + +Options: + -h, --help Show this help message and exit + -v, --version Show version information + +Commands: + list Show a list of approved user scripts + submit Start the submission flow for your own script + about