Browse Source

Manager: Make 'package' option argument optional

master
Riyyi 3 years ago
parent
commit
da8131bdd0
  1. 2
      dotfiles.sh

2
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

Loading…
Cancel
Save