diff options
Diffstat (limited to 'Completion/Core/_sep_parts')
-rw-r--r-- | Completion/Core/_sep_parts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Completion/Core/_sep_parts b/Completion/Core/_sep_parts index c65a944e3..ca97113b1 100644 --- a/Completion/Core/_sep_parts +++ b/Completion/Core/_sep_parts @@ -25,13 +25,13 @@ local matchflags opt group expl nm=$compstate[nmatches] opre osuf opts match group=() expl=() opts=() -while getopts "J:V:X:P:S:r:R:qM:" opt; do +while getopts "J:V:X:P:S:r:R:qM:12n" opt; do case "$opt" in - [JV]) group=("-$opt" "$OPTARG");; - X) expl=(-X "$OPTARG");; - q) opts=( "$opts[@]" -q );; - M) match="$OPTARG";; - *) opts=( "$opts[@]" "-$opt" "$OPTARG" );; + [JV]) group=("-$opt" "$OPTARG");; + X) expl=(-X "$OPTARG");; + [q12n]) opts=( "$opts[@]" "-$opt" );; + M) match="$OPTARG";; + *) opts=( "$opts[@]" "-$opt" "$OPTARG" );; esac done shift OPTIND-1 |