On Thu, Sep 20, 2012 at 4:44 PM, Pavel Sanda <sa...@lyx.org> wrote:
> Scott Kostyshak wrote:
>> If the hardcoding is desired, then I will manually make the updates:
>
> I think hardcoding is fine here. Pavel

OK, updated patch attached.

Thanks,

Scott
diff --git a/lib/scripts/bash_completion b/lib/scripts/bash_completion
index 3b5b0cb..b1c7793 100644
--- a/lib/scripts/bash_completion
+++ b/lib/scripts/bash_completion
@@ -15,9 +15,10 @@ _lyx()
 
        local dbg_cmds=( "none info init key gui \
                        parser lyxrc kbmap latex mathed font tclass \
-                       lyxvc lyxserver roff action lyxlex depend insets \
+                       lyxvc lyxserver action lyxlex depend insets \
                        files workarea insettext graphics changes \
-                       external painting debug any" )
+                       external painting debug any undo scrolling \
+                       macros rtl locale selection find" )
 
        #echo "cmds: '$dbg_cmds'"
 
@@ -38,13 +39,17 @@ _lyx()
                else
                        COMPREPLY=( $( compgen -W '$dbg_cmds' -- $cur ) )
                fi;;
+       --forceoverwrite|-f)
+               COMPREPLY=( $( compgen -W 'all main none' -- $cur ) );;
        *)
           case "$cur" in
           -*)
                # LyX command line options
                 COMPREPLY=( $( compgen -W '-help -userdir -sysdir \
                                -geometry -dbg -x --execute -e --export \
-                               -i --import -version -batch ' -- $cur ) ) ;;
+                               -i --import -version -batch -E --export-to \
+                               -f --force-overwrite -n --no-remote \
+                               -r --remote ' -- $cur ) ) ;;
          
           *)
                # LyX files

Reply via email to