From 48f5669511d1463347979f973cd72e2dd6ec988a Mon Sep 17 00:00:00 2001 From: kevinnls <57634663+kevinnls@users.noreply.github.com> Date: Fri, 8 Jan 2021 02:26:07 +0530 Subject: [PATCH] fix and improve help prompt --- bak-old.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/bak-old.sh b/bak-old.sh index d4c7c3e..c56a36c 100755 --- a/bak-old.sh +++ b/bak-old.sh @@ -30,19 +30,25 @@ $(tput bold)USAGE$(tput sgr0) $(tput bold)OPTIONS$(tput sgr0) Suffix for FILES -- only one can be used - -b $(tput bold).bak$(tput sgr0) [default] - -o $(tput bold).old$(tput sgr0) + -b .bak [default] + -o .old Destination for clones -d save the clones in DESTINATION - [default] is the current directory + [default] is same as source file Lightweight copies -0 create if possible [default] + reuse data blocks unless modified -1 force regular copies + copy data blocks completely Recursive clone -r clone a directory and its contents + + Help and Version + -h display this help menu + -v print version HERE }