*** empty log message ***
[booh] / booh.bash-completion
index 4324b58e043d173c3f134221cc18d8e26ae93907..5a68108da96adbafc3f51aa0c77dfffa8286b752 100644 (file)
@@ -35,10 +35,29 @@ _booh-backend()
                         -U --merge-config-subdirs -D --dir -u \
                        --use-config -f --force -S --sizes -T \
                         --thumbnails-per-row -p --thumbnails-per-page \
+                        -L --multi-languages \
                         -o --optimize-for-32 -l --index-link \
                         -n --made-with -c --comments-format \
                         -m --mproc -g --for-gui -v \
                         --verbose-level' -- $cur ) )
        fi
 }
+
+_booh-classifier()
+{
+       local cur prev
+
+       COMPREPLY=()
+       cur=${COMP_WORDS[COMP_CWORD]}
+       prev=${COMP_WORDS[COMP_CWORD-1]}
+
+       if [[ "$cur" == -* ]]; then
+               COMPREPLY=( $( compgen -W '-h --help -v --verbose-level -s --sort-by-exif-date' -- $cur ) )
+       else
+               _filedir -d
+        fi
+}
+
 complete -F _booh-backend booh-backend
+complete -F _booh-classifier booh-classifier
+