about summary refs log tree commit diff
path: root/Completion/Core
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Core')
-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");;