#compdef zmemtopo

function _zmemtopo {

	_arguments -C -A "*" \
		"--level[Set the topology display depth to NESTING_LEVEL]" \
		"--format[List data in specified FORMAT (json json-seq jsonl pairs csv)]" \
		"--full[Display tree view with padded elements]" \
		"--reverse[Reverse tree view hierarchy direction]" \
		"--table[Use table view to display topology]" \
		"--sort[Sort view by FIELD (nr, lpar, size)]" \
		"--ascii[Use only ASCII characters]" \
		"--help[Print this help, then exit]" \
		"--version[Print version information, then exit]" \
		"*:files:_files"
}
