#compdef zpcimon

function _zpcimon {

	_arguments -C -A "*" \
		"--monitor[Run continuously and report on link state changes collecting optics health data when a change is detected]" \
		"--send-report[Report the optics health data to the Support Element]" \
		"--quiet[Be quiet and don't print optics health summary]" \
		"--module-info[Include a base64 encoded binary dump of the module's SFF-8636/8472/8024 standard data for each netdev. This matches 'ethtool --module-info <netdev> raw on']" \
		"--smart-log-raw[Include a base64 encoded binary dump of the SMART log data for each NVMe. This matches 'nvme smart-log --raw-binary <dev>']" \
		"--interval[Interval in seconds at which to collect monitoring data in the absence of link state changes. A value larger than 24 hours (86400 seconds) is clamped down to 24 hours.]" \
		"--format[Output format (json json-seq jsonl pairs csv)]" \
		"--help[Print this help, then exit]" \
		"--version[Print version information, then exit]" \
		"*:files:_files"
}
