#compdef zcryptstats

function _zcryptstats {

	_arguments -C -A "*" \
		"--interval[Specifies the interval time in seconds. If omitted, a default interval of 10 seconds is used]" \
		"--count[Specifies  the  number of reports that are generated at INTERVAL seconds apart. If omitted, reports are generated continuously, until stopped with control-C]" \
		"--output[Displays the statistics in the specified format. If this option is omitted, a comprehensive report is displayed. Supported output formats are: JSON, TABLE, CSV. With TABLE and CSV the display of the individual counters are omitted, and only the totals are displayed. CSV and TABLE output formats imply option --only-totals]" \
		"--no-totals[Excludes the totals of all counters of a card device or queue device (APQN). It can not be specified together with option --only-totals or option --output TABLE|CSV]" \
		"--only-totals[Displays only the totals of all counters of a card device or a queue device (APQN), but not the individual counters. This option is implied with option --output TABLE|CSV]" \
		"--no-apqn[Displays only the counters of the card device, but omits the counters of the queue device (APQN). If the system does not support obtaining cryptographic performance measurement data on the queue devices, then this option is implied]" \
		"--map-type[Maps unknown cryptographic device types and modes to known types and modes. This option should only be used when new, so far unknown cryptographic devices are found. You can then map them to known devices and modes, provided that the new cryptographic devices report the same counters as the known cryptographic device to which it is mapped. The mapping specification consists of a comma-separated list of FROM-TYPE:FROM-MODE=TO-TYPE:TO-MODE specifications. The type and mode values must be specified in decimal notation]" \
		"--all[Displays all cards devices and queue devices (APQNs), not only those that are available to the Linux system. Using this option additional cryptographic devices that are available in the CEC, but not available to the Linux system are also monitored. This option can not be specified together with option --only-online]" \
		"--only-online[Displays only online cards devices and queue devices (APQNs). This option can not be specified together with option --all]" \
		"--verbose[Prints additional information messages during processing]" \
		"--help[Print this help, then exit]" \
		"--version[Print version information, then exit]" \
		"*:files:_files"
}
