# Copyright (C) 2007 Andre Noll <maan@tuebingen.mpg.de>, see file COPYING.
-para_complete()
+_para_complete()
{
local prg="$1" # the program to execute
local cur=${COMP_WORDS[$COMP_CWORD]}
local line="$COMP_LINE" OLD_IFS="$IFS"
local opts n
- if [[ "$COMP_WORDBREAKS" != ' ' ]]; then
- COMP_WORDBREAKS=' '
- return 124 # try again with proper value
- fi
# This extracts short and long options from the help output
local script='{
if ($1 ~ "-[a-zA-Z]," && $2 ~ "--[a-zA-Z]") {