Improve document 'openstack complete'

The openstack complete command requires bash-completion package
Without the relevant package the bash completion doesn't work.

Change-Id: I47c77f3e7efe112417d2b96936fcd0cafeb9442e
Closes-Bug: #1798493
This commit is contained in:
Robin Cernin 2018-10-18 10:39:49 +10:00
parent 02f492ae4c
commit 4173690b24
1 changed files with 5 additions and 2 deletions

View File

@ -11,8 +11,11 @@ Typical usage for this command is::
openstack complete | sudo tee /etc/bash_completion.d/osc.bash_completion > /dev/null
If installing ``python-openstackclient`` from a package (``apt-get`` or ``yum``),
then this command will likely be run for you.
It is highly recommended to install ``python-openstackclient`` from a package
(``apt-get`` or ``yum``). In some distributions the package ``bash-completion`` is shipped
as dependency, and the `openstack complete` command will be run as a post-install action,
however not every distribution include this dependency and you might need to install
``bash-completion`` package to enable autocomplete feature.
complete
--------