about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-01-20 10:11:42 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-01-20 10:11:42 +0000
commit1e4ddd3713d278a396a0477e24870f50adc465e6 (patch)
tree153ba91d003b51203aabf054195ce7030e4b8499
parent6afece900f8778e0765e47893ed4a31bb9b9ba5a (diff)
downloadzsh-1e4ddd3713d278a396a0477e24870f50adc465e6.tar.gz
zsh-1e4ddd3713d278a396a0477e24870f50adc465e6.tar.xz
zsh-1e4ddd3713d278a396a0477e24870f50adc465e6.zip
zsh-workers/9386
-rw-r--r--Completion/Core/_multi_parts6
-rw-r--r--Completion/Core/_sep_parts2
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");;