From c036d4cd976279f4a8e3a29e1d59b279b59a6357 Mon Sep 17 00:00:00 2001 From: Nathaniel Landau Date: Tue, 31 Mar 2015 00:32:29 -0400 Subject: [PATCH] minor update --- scriptTemplate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scriptTemplate.sh b/scriptTemplate.sh index afeec05..2036b69 100755 --- a/scriptTemplate.sh +++ b/scriptTemplate.sh @@ -111,7 +111,7 @@ This is my script template. Options: -u, --username Username for script -p, --password User password - -f, --force Skip all user interaction. Implied 'Yes' to all actions + --force Skip all user interaction. Implied 'Yes' to all actions. -q, --quiet Quiet (no output) -l, --log Print log to file -s, --strict Exit script with null variables. i.e 'set -o nounset' @@ -175,7 +175,7 @@ while [[ $1 = -?* ]]; do -q|--quiet) quiet=1 ;; -s|--strict) strict=1;; -d|--debug) debug=1;; - -f|--force) force=1 ;; + --force) force=1 ;; --endopts) shift; break ;; *) die "invalid option: '$1'." ;; esac