We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edb6d10 commit c07467dCopy full SHA for c07467d
argument-parser.sh
@@ -90,11 +90,11 @@ argList() {
90
done
91
done <<< "$arguments"
92
93
- regexArgName="(.+) - (.+)"
+ regexArgName=".+ - (.+)"
94
[[ "${argExpected[$arguments]}" =~ $regexArgName ]]
95
96
local argumentList="${argumentsPrefixed[@]}"
97
- local argumentDesc="${BASH_REMATCH[2]}"
+ local argumentDesc="${BASH_REMATCH[1]}"
98
echo "$argumentList $argumentDesc" | column -ts $'\t'
99
100
}
0 commit comments