#compdef chzcrypt

function _chzcrypt {

	_arguments -C -A "*" \
		"--enable[Set the given cryptographic device(s) online]" \
		"--disable[Set the given cryptographic device(s) offline]" \
		"--all[Set all available cryptographic device(s) online/offline, must be used in conjunction with the enable or disable option]" \
		"--config-on[Set the given cryptographic card device(s) configured]" \
		"--config-off[Set the given cryptographic card device(s) deconfigured]" \
		"--poll-thread-enable[Enable zcrypt's poll thread]" \
		"--poll-thread-disable[Disable zcrypt's poll thread]" \
		"--config-time[Set configuration timer for re-scanning the AP bus to TIMEOUT seconds]" \
		"--poll-timeout[Set poll timer to run poll tasklet all TIMEOUT nanoseconds after a request has been queued]" \
		"--default-domain[Set new default domain to DOMAIN]" \
		"--verbose[Print verbose messages]" \
		"--se-associate[SE guest with AP support only: Associate the given queue device]" \
		"--se-bind[SE guest with AP support only: Bind the given queue device]" \
		"--se-unbind[SE guest with AP support only: Unbind the given queue device]" \
		"--help[Print this help, then exit]" \
		"--version[Print version information, then exit]" \
		"*:files:_files"
}
