#compdef vfmg

_arguments \
	':Output:(ASCII DR17 aewm afterstep blackbox enlightenment fbpanel fluxbox fvwm fvwm2 icewm metisse olvwm openbox qvwm wmaker wmaker-old wmii xfce4 xpde)' \
	'(-h --help)'{-h,--help}'[print help]' \
	'(-t --tags)'{-t,--tags}'[echo omitted tags to stderr]' \
	'(-e --end)'{-e,--end}'[echo omitted XDG file ending to stderr]' \
	'(-v --verbose)'{-v,--verbose}'[verbose stderr output]' \
	'(-x --exec)'{-x,--exec}'[check for binaries existence]' \
	'(-X --exec-full)'{-X,--exec-full}'[extend binaries to full path (implies -x)]' \
	'(-i --icons)'{-i,--icons}'[add icons to menu (default: yes)]' \
	'(-T --icons-ext)'{-T,--icons-ext}'[check for icons existence and add extension if required]' \
	'(-I --icons-full)'{-I,--icons-full}'[check for icons existence and extend to full path]' \
	'(-S --icons-scale)'{-S,--icons-scale}'[scale (shrink) icons (implies -i -I)]' \
	'(-c --clear)'{-c,--clear}'[remove empty menus]' \
	'(-p --promote)'{-p,--promote}'[promote submenus with single entry]' \
	'(-s --strip)'{-s,--strip}'[strip 1st level menu]' \
	'(-u --utf8 -o --output)'{-u,--utf8}'[output in utf8 (default is locale setting)]' \
	'(-m --nomenu)'{-m,--nomenu}"[don't add additional menu info (valid for blackbox, fluxbox, openbox, xfce4]" \
	'(-o --output -u --utf8)'{-o,--output}'[output in given encoding (e.g. iso-8859-2)]:encoding' \
	'(-r --xterm)'{-r,--xterm}'[set x terminal application (default \"xterm -name xterm-%1 -e %2\")]:xterm'
