diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-09 10:39:37 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-09 10:39:37 +0000 |
commit | 726e1f5545e35b2cc589d1e43202ae6c04fbffca (patch) | |
tree | 691efed5d248e10a35fb9c6f2d55e835f8d5c814 /Completion/Core/_sep_parts | |
parent | 837ee86a60421d19ad00cac1204bc94d0a96bc56 (diff) | |
download | zsh-726e1f5545e35b2cc589d1e43202ae6c04fbffca.tar.gz zsh-726e1f5545e35b2cc589d1e43202ae6c04fbffca.tar.xz zsh-726e1f5545e35b2cc589d1e43202ae6c04fbffca.zip |
zsh-workers/8965
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 |