From 38341a1a9e5fb88b606f1277b59cd682fc71c738 Mon Sep 17 00:00:00 2001 From: will king Date: Sun, 15 Sep 2024 15:28:36 -0700 Subject: [PATCH] wrote help string for tempage.sh --- tempage.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/tempage.sh b/tempage.sh index a65f8ea..9e8adc3 100755 --- a/tempage.sh +++ b/tempage.sh @@ -33,8 +33,18 @@ cleanup_on_trap() { trap cleanup_on_trap INT TERM help() { -echo << eof - HELP TEXT +cat << eof +Help for $0 + +Options +-h|--help #This help doc +-f|--file [path/to/file.tar.gz.age] # provides the tar'd, compressed, and encrypted file of interest. +--file=[path/to/file.tar.gz.age] # Alternate version of -h [file] +-n|--new # Create a new archive for encryption. +-o|--output [path/to/output/file.tar.gz.age] # Where to write the archive when you save it. +--output=[path/to/output/file.tar.gz.age] # Alternate version of -o [file] +-i|--identies [path/to/age/key] # Which identity to use to decrypt the file. +--identities=[path/to/age/key] # alternate form of -i [file] eof }