The option --buffer-size already infers that its the optional argument
is a size value. In addition to that, when the option is completed the
user will have to delete the word 'size' from the command line and type
the desired value, which is not an ideal user experience.
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
COMPREPLY=( $(compgen -W "emerg alert crit err warn notice info debug" -- $cur) )
return 0
;;
- '-s'|'--buffer-size')
- COMPREPLY=( $(compgen -W "size" -- $cur) )
- return 0
- ;;
'--time-format')
COMPREPLY=( $(compgen -W "delta reltime ctime notime iso" -- $cur) )
return 0