9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-06-17 18:15:17 +02:00
qp2/docs/source/programmers_guide/qp_name.rst
2019-01-25 11:39:31 +01:00

36 lines
613 B
ReStructuredText

.. _qp_name:
qp_name
=======
.. program:: qp_name
Displays the names of all the files in which the provider/subroutine/function
given as argument is used. With the `-r` flag, the name can be changed in the
whole quantum package.
Usage
-----
.. code:: bash
qp_name <name> [-r <new_name> | --rename=<new_name>]
.. option:: -h
Prints the help message.
.. option:: -r <new_name> --rename=<new_name>
Renames the provider/subroutine/function and all its occurences.
.. note::
It is safe to create a commit before renaming a provider, and then to
check what has changed using git diff.