9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-30 23:25:39 +01:00
qp2/doc/_sources/programmers_guide/qp_name.rst.txt
2019-01-25 14:17:34 +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.