From a86f13a1e5e5b4906133e539a09f90314fc96e44 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sat, 15 May 2021 08:58:39 -0600 Subject: [PATCH] perf: run help automatically as needed --- borghelper.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/borghelper.sh b/borghelper.sh index 0aa3019..7c52c40 100755 --- a/borghelper.sh +++ b/borghelper.sh @@ -129,7 +129,7 @@ fi # has a parameter been passed to this script? if [ -z "$1" ]; then - consoleError 1 "No operation requested. Please run this script with '--help' for valid parameters." + scriptHelp fi # process startup parameters @@ -162,7 +162,6 @@ while [ $# -gt 0 ]; do -h|-\?|--help) # display help scriptHelp - exit 0 ;; -i|--info) # show archive information