summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/bash-completion/container2
-rw-r--r--share/man/container-list.1.txt5
2 files changed, 5 insertions, 2 deletions
diff --git a/share/bash-completion/container b/share/bash-completion/container
index abdd89a..523bc08 100644
--- a/share/bash-completion/container
+++ b/share/bash-completion/container
@@ -139,7 +139,7 @@ _container()
;;
-f|--format)
- opts="cli csv json nwdiag shell"
+ opts="cli csv json nwdiag shell yaml"
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
diff --git a/share/man/container-list.1.txt b/share/man/container-list.1.txt
index f19d2ef..962d782 100644
--- a/share/man/container-list.1.txt
+++ b/share/man/container-list.1.txt
@@ -50,7 +50,7 @@ The following container options are available, defaults to *--started --stopped*
Specify custom CSV separator, defaults to ','.
*-f, --format='FORMAT'*::
- Use format to list container. Currently available formats are 'cli' (default), 'csv', 'json', 'nwdiag', or 'shell'.
+ Use format to list container. Currently available formats are 'cli' (default), 'csv', 'json', 'nwdiag', 'shell', or 'yaml'.
*-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.
@@ -93,6 +93,9 @@ EXAMPLES
*Create a shell export of all started and stopped containers:*::
sudo container list -f shell
+*Create a YAML export of all started and stopped containers:*::
+ sudo container list -f yaml
+
SEE ALSO
--------