summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-12-11 10:44:49 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-12-11 10:55:50 +0000
commit8871afb284ce710660aa8c09b6a4a07055bccb89 (patch)
treeb228156d427f2a8bcad68d65c1e032ba2747e31e /share
parentRenaming full format in container list command to cli for consistency. (diff)
downloadcompute-tools-8871afb284ce710660aa8c09b6a4a07055bccb89.tar.xz
compute-tools-8871afb284ce710660aa8c09b6a4a07055bccb89.zip
Renaming short format in container list command to shell for consistency.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share')
-rw-r--r--share/bash-completion/container18
-rw-r--r--share/man/container-list.1.txt8
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
--------