Add console hilighting to README.rst

This commit is contained in:
Alexander Neumann 2017-04-19 18:32:32 +02:00
parent 5b80cb8b6b
commit 90ba606633
1 changed files with 9 additions and 2 deletions

View File

@ -9,7 +9,12 @@ For detailed usage and installation instructions check out the `documentation <h
Quick start
-----------
Once you've `installed <https://restic.readthedocs.io/en/latest/installation.html>`__ restic, start off with creating a repository for your backups::
Once you've `installed
<https://restic.readthedocs.io/en/latest/installation.html>`__ restic, start
off with creating a repository for your backups:
.. code-block:: console
$ restic init --repo /tmp/backup
enter password for new backend:
@ -18,7 +23,9 @@ Once you've `installed <https://restic.readthedocs.io/en/latest/installation.htm
Please note that knowledge of your password is required to access the repository.
Losing your password means that your data is irrecoverably lost.
and add some data::
and add some data:
.. code-block:: console
$ restic -r /tmp/backup backup ~/work
enter password for repository: