From 1e4ddd3713d278a396a0477e24870f50adc465e6 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 20 Jan 2000 10:11:42 +0000 Subject: zsh-workers/9386 --- Completion/Core/_multi_parts | 6 +++--- Completion/Core/_sep_parts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Completion/Core/_multi_parts b/Completion/Core/_multi_parts index 935b13c74..e64e2906f 100644 --- a/Completion/Core/_multi_parts +++ b/Completion/Core/_multi_parts @@ -17,12 +17,12 @@ group=() expl=() opts=() sopts=() -while getopts "J:V:X:P:S:r:R:qM:12n" opt; do +while getopts "J:V:X:P:F:S:r:R:qM:12n" opt; do case "$opt" in [JV]) group=("-$opt" "$OPTARG");; X) expl=(-X "$OPTARG");; - P) opts=( "$opts[@]" -P "$OPTARG") - sopts=( "$sopts[@]" -P "$OPTARG");; + [PF]) opts=( "$opts[@]" "-$opt" "$OPTARG") + sopts=( "$sopts[@]" "-$opt" "$OPTARG");; [SrR]) sopts=( "$sopts[@]" -P "$OPTARG");; [q12n]) sopts=( "$sopts[@]" "-$opt");; M) match="$OPTARG";; diff --git a/Completion/Core/_sep_parts b/Completion/Core/_sep_parts index 88e46e1f5..4af470caa 100644 --- a/Completion/Core/_sep_parts +++ b/Completion/Core/_sep_parts @@ -25,7 +25,7 @@ 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:12n" opt; do +while getopts "J:V:X:P:F:S:r:R:qM:12n" opt; do case "$opt" in [JV]) group=("-$opt" "$OPTARG");; X) expl=(-X "$OPTARG");; -- cgit 1.4.1