python-openstackclient/doc/source/command-objects/complete.rst
Kevin_Zheng 9663424c74 change os in command example to openstack
In the current doc, the command examples are like
"os server create" but the acutal command should
be started with "openstack" instead of "os", it
is misleading to first time users.

Change-Id: Ic7686257725e1aa8e4e0d65a712eff1c079927a8
2016-12-20 09:03:29 +08:00

26 lines
654 B
ReStructuredText

========
complete
========
The ``complete`` command is inherited from the `python-cliff` library, it can
be used to generate a bash-completion script. Currently, the command will
generate a script for bash versions 3 or 4. The bash-completion script is
printed directly to standard out.
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.
complete
--------
print bash completion command
.. program:: complete
.. code:: bash
openstack complete