summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-10-31 17:15:28 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-10-31 17:18:03 +0000
commit177fd905aafdccc5c40f82aae65819433deccd92 (patch)
treef4cd691aa045ed0247016c508031d09c80043630 /share
parentAdding con shortcut for container console command. (diff)
downloadcompute-tools-177fd905aafdccc5c40f82aae65819433deccd92.tar.xz
compute-tools-177fd905aafdccc5c40f82aae65819433deccd92.zip
Adding sh shortcut for shell format in container list command.
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.txt3
2 files changed, 3 insertions, 2 deletions
diff --git a/share/bash-completion/container b/share/bash-completion/container
index 8ef38cf..8534680 100644
--- a/share/bash-completion/container
+++ b/share/bash-completion/container
@@ -128,7 +128,7 @@ _container()
;;
-f|--format)
- opts="cli csv json nwdiag shell yaml xml"
+ opts="cli csv json nwdiag shell sh yaml xml"
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
diff --git a/share/man/container-list.1.txt b/share/man/container-list.1.txt
index abb4c8f..f629e33 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', 'shell', 'yaml', or 'xml'.
+ Use format to list container. Currently available formats are 'cli' (default), 'csv', 'json', 'nwdiag', 'shell', 'sh', 'yaml', or 'xml'.
*-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.
@@ -92,6 +92,7 @@ EXAMPLES
*Create a shell export of all started and stopped containers:*::
sudo container list -f shell
+ sudo container list -f sh
*Create a YAML export of all started and stopped containers:*::
sudo container list -f yaml