From 6ae203d6c0bcd60c9860f83a7597312d30578729 Mon Sep 17 00:00:00 2001 From: "Dennis J. Bell" Date: Sat, 9 Sep 2023 13:03:12 -0700 Subject: [PATCH] Add help to pack command --- pack | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pack b/pack index 8f29e785..24a889e7 100755 --- a/pack +++ b/pack @@ -8,6 +8,10 @@ use MIME::Base64 qw(encode_base64); use POSIX qw(strftime); ###################################################################### +if (grep {/^(-h|--help)$/} @ARGV) { + printf STDERR "usage: ./pack [ []]\n\n"; + exit 0; +} system "perl -c -Ilib bin/genesis"; die "Perl compilation failed, not packing\n" if $?;