#compdef dasdfmt

function _dasdfmt {

	_arguments -C \
		"--mode[Specify scope of operation using MODE:
  full: Full device (default)
  quick: Only the first two tracks
  expand: Unformatted tracks at device end]" \
		"--check[Perform complete format check on device]" \
		"--blocksize[Format blocks to SIZE bytes (default 4096)]" \
		"--disk_layout[Specify the disk layout:
  cdl: Compatible Disk Layout (default)
  ldl: Linux Disk Layout]" \
		"--keep_volser[Do not change the current volume serial]" \
		"--label[Specify volume serial number]" \
		"--no_label[Don't write a disk label]" \
		"--requestsize[Process NUM cylinders in one formatting step]" \
		"--norecordzero[Prevent storage server from modifying record 0]" \
		"--no-discard[Do not discard space before formatting]" \
		"--hashmarks[Show a hashmark every NUM cylinders]" \
		"--progressbar[Show a progressbar]" \
		"--percentage[Show progress in percent]" \
		"--check_host_count[Check if device is in use by other hosts]" \
		"--force[Format without performing sanity checking]" \
		"--test[Run in dry-run mode without modifying the DASD]" \
		"--help[Print this help, then exit]" \
		"--version[Print version information, then exit]" \

}
