From 726e1f5545e35b2cc589d1e43202ae6c04fbffca Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 9 Dec 1999 10:39:37 +0000 Subject: zsh-workers/8965 --- Completion/Core/_sep_parts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Completion/Core/_sep_parts') 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 -- cgit 1.4.1