#compdef chpstat

function _chpstat {

	_arguments -C -A "*" \
		"--status[Show channel-path statistics status]" \
		"--enable[Enable channel-path statistics]" \
		"--disable[Disable channel-path statistics]" \
		"--list-columns[List available table columns]" \
		"--list-keys[List available data keys]" \
		"--help[Print this help, then exit]" \
		"--version[Print version information, then exit]" \
		"--iterations[Display NUM reports before ending (0 for no end)]" \
		"--interval[Pause NUM seconds between display]" \
		"--columns[Show only specified columns in table output]" \
		"--keys[Show only data for specified keys in list output]" \
		"--all[Show all table columns and key data]" \
		"--scale[Scale BPS values by UNIT (number, suffix or auto)]" \
		"--cmg[Show data for specified CMGs only]" \
		"--format[List data in specified FORMAT (json json-seq jsonl pairs csv)]" \
		"--chars[List channel-path measurement characteristics]" \
		"--util[List unprocessed utilization data]" \
		"--metrics[List performance metrics]" \
		"--no-ansi[Do not use ANSI terminal codes in output]" \
		"--no-prefix[Hide key prefix in pairs output format]" \
		"--debug[Print debugging information]" \
		"*:files:_files"
}
