update
authorgc <gc>
Sat, 2 Feb 2008 14:06:45 +0000 (14:06 +0000)
committergc <gc>
Sat, 2 Feb 2008 14:06:45 +0000 (14:06 +0000)
booh.bash-completion

index 1588a27..4324b58 100644 (file)
@@ -9,11 +9,11 @@ _booh-backend()
        prev=${COMP_WORDS[COMP_CWORD-1]}
 
        case $prev in
-               -@(s|d|-source|-destination))
+               -@(s|d|D|-source|-destination|-dir))
                        _filedir -d
                        return 0
                        ;;
-               -@(C|M|N|u|-config|-merge-config|-merge-config-newdirs|-use-config))
+               -@(C|M|U|O|N|u|-config|-merge-config|-merge-config-onedir|-merge-config-subdirs|-use-config))
                        _filedir
                        return 0
                        ;;
@@ -28,12 +28,17 @@ _booh-backend()
        esac
 
        if [[ "$cur" == -* ]]; then
-               COMPREPLY=( $( compgen -W '-h --help -V --version -n \
-                       --no-check -s --source -d --destination -t \
-                       --theme -C --config -k --config-skel -M \
-                       --merge-config -N --merge-config-newdirs -u \
-                       --use-config -S --sizes -m --mproc -g \
-                       --for-gui -v --verbose-level' -- $cur ) )
+               COMPREPLY=( $( compgen -W '-h --help -V --version \
+                       -s --source -d --destination -t --theme \
+                        -C --config -k --config-skel -M \
+                       --merge-config -O --merge-config-onedir \
+                        -U --merge-config-subdirs -D --dir -u \
+                       --use-config -f --force -S --sizes -T \
+                        --thumbnails-per-row -p --thumbnails-per-page \
+                        -o --optimize-for-32 -l --index-link \
+                        -n --made-with -c --comments-format \
+                        -m --mproc -g --for-gui -v \
+                        --verbose-level' -- $cur ) )
        fi
 }
 complete -F _booh-backend booh-backend