#compdef vfmg

_arguments \
	':Output:(aewm afterstep blackbox enlightenment fbpanel fluxbox fvwm2 icewm metisse openbox olvwm qvwm wmaker wmaker-old 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]' \
	'(-i --icons)'{-i,--icons}'[check for icons existence]' \
	'(-x --exec)'{-x,--exec}'[check for binaries existence]' \
	'(-f --full)'{-f,--full}'[extend icons and binaries to full path (needs -i or -x)]' \
	'(-c --clear)'{-c,--clear}'[remove empty menus]' \
	'(-p --promote -c --clear)'{-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'
