many bugfix, fixed getopt split
This commit is contained in:
+3
-1
@@ -89,7 +89,9 @@ settrace()
|
||||
return 1
|
||||
fi
|
||||
# getopt emits a shell-quoted, normalised argument list ("--" ends options)
|
||||
eval set -- "$PARSED"
|
||||
local -a _pargs=()
|
||||
_getopt_split _pargs "$PARSED"
|
||||
set -- "${_pargs[@]}"
|
||||
|
||||
# First pass: gather the requested action and flags. --on, --off and
|
||||
# --status are mutually exclusive; --force only modifies --on and --off.
|
||||
|
||||
Reference in New Issue
Block a user