HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //proc/self/root/snap/gnome-42-2204/current/usr/share/bash-completion/completions/bwrap
# shellcheck shell=bash

# bash completion file for bubblewrap commands
#

_bwrap() {
    local cur prev words cword
    _init_completion || return

	# Please keep sorted in LC_ALL=C order
	local boolean_options="
		--as-pid-1
		--clearenv
		--help
		--new-session
		--unshare-all
		--unshare-cgroup
		--unshare-cgroup-try
		--unshare-ipc
		--unshare-net
		--unshare-pid
		--unshare-user
		--unshare-user-try
		--unshare-uts
		--version
	"

	# Please keep sorted in LC_ALL=C order
	local options_with_args="
		$boolean_optons
		--args
		--bind
		--bind-data
		--block-fd
		--cap-add
		--cap-drop
		--chdir
		--chmod
		--dev
		--dev-bind
		--die-with-parent
		--dir
		--exec-label
		--file
		--file-label
		--gid
		--hostname
		--info-fd
		--lock-file
		--perms
		--proc
		--remount-ro
		--ro-bind
		--seccomp
		--setenv
		--symlink
		--sync-fd
		--uid
		--unsetenv
		--userns-block-fd
	"

    if [[ "$cur" == -* ]]; then
        COMPREPLY=( $( compgen -W "$boolean_options $options_with_args" -- "$cur" ) )
    fi

    return 0
}
complete -F _bwrap bwrap

# vim:set ft=bash: