Skip to content

Commit 4173690

Browse files
committed
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
1 parent 02f492a commit 4173690

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

doc/source/cli/command-objects/complete.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ Typical usage for this command is::
1111

1212
openstack complete | sudo tee /etc/bash_completion.d/osc.bash_completion > /dev/null
1313

14-
If installing ``python-openstackclient`` from a package (``apt-get`` or ``yum``),
15-
then this command will likely be run for you.
14+
It is highly recommended to install ``python-openstackclient`` from a package
15+
(``apt-get`` or ``yum``). In some distributions the package ``bash-completion`` is shipped
16+
as dependency, and the `openstack complete` command will be run as a post-install action,
17+
however not every distribution include this dependency and you might need to install
18+
``bash-completion`` package to enable autocomplete feature.
1619

1720
complete
1821
--------

0 commit comments

Comments
 (0)