diff --git a/dotfiles.sh b/dotfiles.sh index bd9db98..3fc0db1 100755 --- a/dotfiles.sh +++ b/dotfiles.sh @@ -186,7 +186,7 @@ packages() { # -------------------------------------- script="$(basename "$0")" -options="$(getopt --options "ha:fp:ls" --longoptions "help,add:,files,packages:,pull,push" -n "$script" -- "$@" 2>&1)" +options="$(getopt --options "ha:fp::ls" --longoptions "help,add:,files,packages::,pull,push" -n "$script" -- "$@" 2>&1)" result="$?" # Exit if invalid option is provided