5 |
cur="${COMP_WORDS[COMP_CWORD]}" |
cur="${COMP_WORDS[COMP_CWORD]}" |
6 |
prev="${COMP_WORDS[COMP_CWORD-1]}" |
prev="${COMP_WORDS[COMP_CWORD-1]}" |
7 |
if [[ "${cur}" == -* ]] ; then |
if [[ "${cur}" == -* ]] ; then |
8 |
COMPREPLY=( $(compgen -W "-a -A -p -P -H -b -d -v -h |
COMPREPLY=( $(compgen -W "-a -A -p -P -H -b -d -v -s -n -g -h |
9 |
--account --action --password --proxy --host --bash \ |
--account --action --password --proxy --host --bash \ |
10 |
--user --debug --version --help" -- ${cur}) ) |
--user --debug --dry-run --shrink-urls --page --version \ |
11 |
|
--help" -- ${cur}) ) |
12 |
fi |
fi |
13 |
|
|
14 |
if [[ "${prev}" == "--host" ]] ; then |
if [[ "${prev}" == "--host" ]] ; then |