#compdef cpu-x

_cpu_x() {
	_arguments -C \
		{-G,--gtk}'[Start graphical user interface (GUI)]' \
		{-N,--ncurses}'[Start text-based user interface (TUI)]' \
		{-D,--dump}'[Dump all data on standard output and exit]' \
		{-M,--dmidecode}'[Run embedded command dmidecode and exit]' \
		{-B,--bandwidth}'[Run embedded command bandwidth and exi]' \
		{-r,--refresh}'[Set custom time between two refreshes (in seconds)]' \
		{-t,--tab}'[Set default tab (integer)]' \
		{-c,--core}'[Select CPU core to monitor (integer)]' \
		{-b,--cachetest}'[Set custom bandwidth test for CPU caches speed (integer)]' \
		{-d,--daemon}'[Start and connect to daemon]' \
		{-v,--verbose}'[Verbose output]' \
		{-h,--help}'[Print help and exit]' \
		{-V,--version}'[Print version and exit]' \
		'--nocolor[Disable colored output]' \
		'--debug[Print information for debugging]' \
		'--issue-fmt[Print required informations to paste in an issue]' \
		'--keymap[Set key mapping for NCurses mode (arrows|emacs|inverted-T|vim)]'
}

_cpu_x "$@"
