#compdef zpcictl

function _zpcictl {

	_arguments -C -A "*" \
		"--reset[Reset the device and report an error to the Support Element (SE). The reset consists of a controlled shutdown and a subsequent re-enabling of the device. As a result, higher level interfaces such as network interfaces and block devices are destroyed and re-created.
Manual configuration steps might be required to re-integrate the device, for example, in bonded interfaces or software RAIDs.
Use this option only if the automatic recovery failed, or if it did not succeed to restore regular operations of the device and manual intervention is required.
]" \
		"--reset-fw[Reset the device through a firmware driven reset that triggers automatic recovery and reports an error to the Support Element (SE).
]" \
		"--deconfigure[Deconfigure the device to prepare for any repair action]" \
		"--report-error[Report a device error to the Support Element (SE)]" \
		"--help[Print this help, then exit]" \
		"--version[Print version information, then exit]" \
		"*:files:_files"
}
