#compdef lspai

function _lspai {

	_arguments -C \
		"--all[Displays all CPUs in output]" \
		"--delta[Display delta counter values]" \
		"--counters[Specify comma separated list of counters to display]" \
		"--format[List counters in specified FORMAT (json json-seq pairs csv)]" \
		"--loops[Number of read operations]" \
		"--interval[Time to wait between loop iterations (default 60s)]" \
		"--numeric[Sort PAI counters by counter number]" \
		"--short[Abbreviate counter name with counter set letter and number]" \
		"--type[Type of PAI counters to show: crypto, nnpa]" \
		"--hex0x[Counter values in hexadecimal format with leading 0x]" \
		"--hex[Counter values in hexadecimal format]" \
		"--help[Print this help, then exit]" \
		"--version[Print version information, then exit]" \

}
