Showing 1 changed files with 2 additions and 1 deletions
+2 -1
flightgear/fgfs_function
... ...
@@ -653,7 +653,8 @@ EOH
653 653
                 *)
654 654
                     completion_source="$FGDIR/install/flightgear/share/zsh/site-functions/_fgfs"
655 655
                     if test -r "$completion_source"; then
656
-                        if egrep --quiet "^\s*'${fgfs_arg%=*}=?\[" "$completion_source"; then
656
+                        if egrep --quiet "^\s*'(${fgfs_arg%=*}=?|)\[" "$completion_source" \
657
+                        || [[ ${fgfs_arg} =~ ^--prop(:(string|double|float|long|int|bool))?:/[[:print:]]+= ]]; then
657 658
                             fgfs_args+=($fgfs_arg)
658 659
                         else
659 660
                             echo unknown option: ${fgfs_arg%=*}