From 4fc34e4bcd3c4f099f553eb43d33e457bb6c8bfd Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Thu, 6 Oct 2022 23:02:48 -0500 Subject: [PATCH] Revise display of usage information The script now reports success if run with the --help option. --- gatekeeper.pl | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/gatekeeper.pl b/gatekeeper.pl index 2f5ac61..445d0ea 100755 --- a/gatekeeper.pl +++ b/gatekeeper.pl @@ -200,22 +200,24 @@ our $help; our $version; sub usage_information { - my $retval = "\n$NAME protocol v$VERSION ($DATE)\n"; - $retval .= "More information at $URL\n"; - $retval .= "\nERROR: You have not supplied all required parameters. $NAME takes these arguments:\n\n"; - $retval .= " $NAME -s