From 1f84746ed7ef90ae17ea007b41d81d35efdd1c5c Mon Sep 17 00:00:00 2001 From: Riyyi Date: Tue, 24 Aug 2021 03:55:54 +0200 Subject: [PATCH] Manager: Parse help argument --- dotfiles.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotfiles.sh b/dotfiles.sh index edb7f3a..7bf3ff0 100755 --- a/dotfiles.sh +++ b/dotfiles.sh @@ -350,6 +350,10 @@ eval set -- "$parsed" while true; do case "$1" in + -h | --help) + help + exit + ;; -F | --file) if [ -n "$mode" ]; then echo "${b}${red}Error:${n} only one operation may be used at a time." >&2