We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2b49e9 commit 6cad357Copy full SHA for 6cad357
1 file changed
lib/parsearg.sh
@@ -49,7 +49,7 @@ parsearg(){
49
local _args=("$@") _noarg=()
50
local _current="" _arg="" _var="" _setarg=false
51
while [[ -n "${1-""}" ]]; do
52
- _current="$1" _arg="$2" _var="" _setarg=false
+ _current="$1" _arg="${2-""}" _var="" _setarg=false
53
54
if [[ "$_current" = "--" ]]; then
55
shift 1
0 commit comments