local CUR=${COMP_WORDS[COMP_CWORD]}
if [ $COMP_CWORD -eq 1 ]; then
- COMPREPLY=( $(compgen -W "100 200 300 500 1000 2000 4000" -- $CUR) )
+ COMPREPLY=( $(compgen -W "100 200 300 400 500 1000 2000 4000 5000" -- $CUR) )
elif [ $COMP_CWORD -ge 2 ]; then
_command_offset 2
fi
#! /bin/sh
usage() {
- echo "Usage: $0 {100|200|300|500|1000|2000|4000} [command [args]]"
+ echo "Usage: $0 {100|200|300|400|500|1000|2000|4000|5000} [command [args]]"
exit 1
}
case "$1" in
- 100|200|300|500|1000|2000|4000)
+ 100|200|300|400|500|1000|2000|4000|5000)
;;
*) usage