diff options
Diffstat (limited to '')
-rw-r--r-- | share/bash-completion/container | 18 | ||||
-rw-r--r-- | share/man/container-list.1.txt | 8 |
2 files changed, 13 insertions, 13 deletions
diff --git a/share/bash-completion/container b/share/bash-completion/container index 5ec4741..9dcdbc3 100644 --- a/share/bash-completion/container +++ b/share/bash-completion/container @@ -47,7 +47,7 @@ _container() *) case "${prev}" in -n|--name) - opts=$(container list -s -f short) + opts=$(container list -s -f shell) COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; @@ -93,7 +93,7 @@ _container() *) case "${prev}" in -n|--name) - opts=$(container list -s -f short) + opts=$(container list -s -f shell) COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; @@ -113,7 +113,7 @@ _container() *) case "${prev}" in -n|--name) - opts=$(container list -a -f short) + opts=$(container list -a -f shell) COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; @@ -139,7 +139,7 @@ _container() ;; -f|--format) - opts="cli short" + opts="cli shell" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; @@ -159,7 +159,7 @@ _container() *) case "${prev}" in -n|--name) - opts=$(container list -t -f short) + opts=$(container list -t -f shell) COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; @@ -179,7 +179,7 @@ _container() *) case "${prev}" in -n|--name) - opts=$(container list -s -f short) + opts=$(container list -s -f shell) COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; @@ -199,7 +199,7 @@ _container() *) case "${prev}" in -n|--name) - opts=$(container list -t -f short) + opts=$(container list -t -f shell) COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; @@ -219,7 +219,7 @@ _container() *) case "${prev}" in -n|--name) - opts=$(container list -t -f short) + opts=$(container list -t -f shell) COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; @@ -239,7 +239,7 @@ _container() *) case "${prev}" in -n|--name) - opts=$(container list -s -f short) + opts=$(container list -s -f shell) COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; diff --git a/share/man/container-list.1.txt b/share/man/container-list.1.txt index d69a958..53603db 100644 --- a/share/man/container-list.1.txt +++ b/share/man/container-list.1.txt @@ -47,7 +47,7 @@ The following container options are available, defaults to *--started --stopped* List all available container (started, stopped, and other). *-f, --format='FORMAT'*:: - Use format to list container. Currently available formats are 'cli' (default) or 'short'. + Use format to list container. Currently available formats are 'cli' (default) or 'shell'. *-h, --host='HOSTNAME'*:: List only container that are enabled for automatic start on the specified hostname. Defaults to list containers of the local system only. Using 'all' shows all container regardless of any automatic start configuration. @@ -66,12 +66,12 @@ EXAMPLES *List all started and stopped containers of the local system:*:: sudo container list -*List all started and stopped containers of the local system as a machine-readable list:*:: - sudo container list -f short - *List all started and other containers:*:: sudo container list -s -o +*Create a shell export of all started and stopped containers:*:: + sudo container list -f shell + SEE ALSO -------- |