components/zsh/Completion/Solaris/Command/_zoneadm
changeset 510 53bd319b010e
parent 429 02007d525e89
child 904 114a5240af22
equal deleted inserted replaced
509:07ee58881cb3 510:53bd319b010e
    11 
    11 
    12 _zoneadm() {
    12 _zoneadm() {
    13 	local context state line expl
    13 	local context state line expl
    14 	typeset -A opt_args
    14 	typeset -A opt_args
    15 	local -a subcmds fields
    15 	local -a subcmds fields
    16 	local -a ipkg_attach ipkg_install
    16 	local -a solaris_attach solaris_install
       
    17 	local -a solaris10_attach solaris10_install
    17 	local brand brand_args
    18 	local brand brand_args
    18 
    19 
    19 	subcmds=(
    20 	subcmds=(
    20 		attach boot clone detach halt help install list mark move
    21 		attach boot clone detach halt help install list mark move
    21 		ready reboot uninstall verify
    22 		ready reboot uninstall verify
    22 	)
    23 	)
    23 
    24 
    24 	ipkg_attach=(
    25 	solaris_attach=(
    25 		'(-d)-a[Path to archive]:path:_path_files'
    26 		'(-d)-a[Path to archive]:path:_path_files'
    26 		'(-a)-d[Path to zonepath]:directory:_path_files -/'
    27 		'(-a)-d[Path to zonepath]:directory:_path_files -/'
    27 	)
    28 	)
    28 	ipkg_install=(
    29 	solaris_install=(
    29 		- set1
    30 		- set1
    30 		'-c[Path to certificate]:path:_path_files'
    31 		'-c[Path to certificate]:path:_path_files'
    31 		'*-e[Additional package]:package:'
    32 		'*-e[Additional package]:package:'
    32 		'-k[Path to key]:path:_path_files'
    33 		'-k[Path to key]:path:_path_files'
    33 		'-P[Publisher/URI mapping]:publisher:'
    34 		'-P[Publisher/URI mapping]:publisher:'