con_opt::__con_bs_completion()
{
	COMPREPLY=()

	local cur="${COMP_WORDS[COMP_CWORD]}" prev="" pprev=""
	[ ${COMP_CWORD} -lt 1 ] || prev=${COMP_WORDS[COMP_CWORD-1]}
	[ ${COMP_CWORD} -lt 2 ] || pprev=${COMP_WORDS[COMP_CWORD-2]}

	case ${pprev} in
	# Sub commands: 'group sub'
		status)
			case ${prev} in

			esac
			;;
		init)
			case ${prev} in

			esac
			;;
		strap)
			case ${prev} in

			esac
			;;
		configure)
			case ${prev} in

			esac
			;;
		build)
			case ${prev} in

			esac
			;;
		check)
			case ${prev} in

			esac
			;;
		dist)
			case ${prev} in

			esac
			;;
		distcheck)
			case ${prev} in

			esac
			;;
		clean)
			case ${prev} in

			esac
			;;
		setversion)
			case ${prev} in

			esac
			;;
		rebuild)
			case ${prev} in

			esac
			;;
	*)
		# Some other non command arg
		case ${prev} in
			# Options

			# Commands: 'command'
		status)
			COMPREPLY=( $(compgen  -- "${cur}") )
			;;
		init)
			COMPREPLY=( $(compgen  -- "${cur}") )
			;;
		strap)
			COMPREPLY=( $(compgen  -- "${cur}") )
			;;
		configure)
			COMPREPLY=( $(compgen  -- "${cur}") )
			;;
		build)
			COMPREPLY=( $(compgen  -- "${cur}") )
			;;
		check)
			COMPREPLY=( $(compgen  -- "${cur}") )
			;;
		dist)
			COMPREPLY=( $(compgen  -- "${cur}") )
			;;
		distcheck)
			COMPREPLY=( $(compgen  -- "${cur}") )
			;;
		clean)
			COMPREPLY=( $(compgen  -- "${cur}") )
			;;
		setversion)
			COMPREPLY=( $(compgen  -- "${cur}") )
			;;
		rebuild)
			COMPREPLY=( $(compgen  -- "${cur}") )
			;;
			# Initial arg
			*)
				COMPREPLY=( $(compgen -W " -h -v -q -V -B -A -K -S status  init  strap  configure  build  check  dist  distcheck  clean  setversion  rebuild" -- "${cur}") )
				;;
		esac
	esac
} &&
complete -F con_opt::__con_bs_completion "con-bs" &&
printf "Completion added: %s (%s).\n" "con-bs" "con_opt::__con_bs_completion" >&2
