"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "auto-completion/bash/googler-completion.bash" between
googler-4.0.tar.gz and googler-4.1.tar.gz

About: googler is a command line tool to search Google (Web & News) from the terminal (requires Python).

googler-completion.bash  (googler-4.0):googler-completion.bash  (googler-4.1)
skipping to change at line 18 skipping to change at line 18
_googler () { _googler () {
COMPREPLY=() COMPREPLY=()
local IFS=$' \n' local IFS=$' \n'
local cur=$2 prev=$3 local cur=$2 prev=$3
local -a opts opts_with_args local -a opts opts_with_args
opts=( opts=(
-h --help -h --help
-s --start -s --start
-n --count -n --count
-N --news -N --news
-V --videos
-c --tld -c --tld
-l --lang -l --lang
-x --exact -x --exact
--colorize --colorize
-C --nocolor -C --nocolor
--colors --colors
-j --first --lucky -j --first --lucky
-t --time -t --time
--from
--to
-w --site -w --site
--unfilter --unfilter
-p --proxy -p --proxy
--notweak --notweak
--json --json
--url-handler --url-handler
--show-browser-logs --show-browser-logs
--np --noprompt --np --noprompt
-u --upgrade -u --upgrade
--include-git --include-git
skipping to change at line 47 skipping to change at line 50
-d --debug -d --debug
) )
opts_with_arg=( opts_with_arg=(
-s --start -s --start
-n --count -n --count
-c --tld -c --tld
-l --lang -l --lang
--colorize --colorize
--colors --colors
-t --time -t --time
--from
--to
-w --site -w --site
-p --proxy -p --proxy
--url-handler --url-handler
) )
if [[ $cur == -* ]]; then if [[ $cur == -* ]]; then
# The current argument is an option -- complete option names. # The current argument is an option -- complete option names.
COMPREPLY=( $(compgen -W "${opts[*]}" -- "$cur") ) COMPREPLY=( $(compgen -W "${opts[*]}" -- "$cur") )
else else
# Do not complete option arguments; only autocomplete positional # Do not complete option arguments; only autocomplete positional
 End of changes. 3 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)