Manager: Make 'package' option argument optional
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user