From: Jacob Bachmeyer Date: Fri, 7 Oct 2022 04:02:48 +0000 (-0500) Subject: Revise display of usage information X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4fc34e4bcd3c4f099f553eb43d33e457bb6c8bfd;p=gatekeeper.git Revise display of usage information The script now reports success if run with the --help option. --- 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