zsh-workers
 help / color / mirror / code / Atom feed
02c63f6a76cfaf8db903a4ffb7e305cf1a0c394a blob 596 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
#compdef dumpadm

_dumpadm() {
	local -a content

	content=(
		"kernel"\:"Kernel memory pages only"
		"all"\:"All memory pages"
		"curproc"\:"Kernel memory pages plus curproc pages"
	)

	_arguments -s \
		'-n[dont run savecore on reboot]' \
		'-u[update dump configuration from dumpadm.conf]' \
		'-y[run savecore on reboot]' \
		'-c[set dump content]:dump content:(($content))' \
		'-d[set dump device]:block devices:_files -g "*(-%b)"' \
		'-m[set minfree size ]:' \
		'-s[set the savecore directory]:directory:_files -/' \
		'-r[alternate root directory]:directory:_files -/'
}

_dumpadm "$@"
debug log:

solving 02c63f6 ...
found 02c63f6 in https://git.vuxu.org/mirror/zsh/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).