summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-12-11 10:42:29 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-12-11 10:47:12 +0000
commit36e09652b1ea35f3c4b7e92e0847d0c8eea3323b (patch)
tree06ec7c52712b9246ab40c8b906c468894e144414 /share
parentSorting format code in container list command. (diff)
downloadcompute-tools-36e09652b1ea35f3c4b7e92e0847d0c8eea3323b.tar.xz
compute-tools-36e09652b1ea35f3c4b7e92e0847d0c8eea3323b.zip
Renaming full format in container list command to cli for consistency.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share')
-rw-r--r--share/bash-completion/container2
-rw-r--r--share/man/container-list.1.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/share/bash-completion/container b/share/bash-completion/container
index e49311a..5ec4741 100644
--- a/share/bash-completion/container
+++ b/share/bash-completion/container
@@ -139,7 +139,7 @@ _container()
;;
-f|--format)
- opts="short full"
+ opts="cli short"
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
diff --git a/share/man/container-list.1.txt b/share/man/container-list.1.txt
index 9e69fba..d69a958 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 'short' or 'full' (default).
+ Use format to list container. Currently available formats are 'cli' (default) or 'short'.
*-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.