From d56946fce920c738a29ef854708bf9a6632f4ef9 Mon Sep 17 00:00:00 2001 From: Jeremy Brubaker Date: Fri, 3 Jun 2022 13:43:52 -0400 Subject: Update 'help' output - Includes standard `pinentry` options - Provides basic documentation on custom `anypinentry` options --- anypinentry | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/anypinentry b/anypinentry index beb8df0..d281873 100755 --- a/anypinentry +++ b/anypinentry @@ -111,6 +111,44 @@ interpret_command() { help() { echo "Usage: $0 [-D DISPLAY] [--prompt script] [--confirm script] [-hv]"; + +cat < + +END + +printf "Usage: %s [options] (-h for help)\n" "$0" >&2 + +cat <. +END } parse_cliargs() { -- cgit v1.3.1