summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlly Cope <olly@ollycope.com>2022-11-02 16:30:33 +0000
committerOlly Cope <olly@ollycope.com>2022-11-02 16:30:33 +0000
commit8a3f33386cd9c072f1f2245a36f4c3fb385b8ba7 (patch)
tree69960430f6c074772b2a1015db181f06be315b45
parent9884d521f48b16c52fe8e055003021a882d3df5f (diff)
downloadyoyo-8a3f33386cd9c072f1f2245a36f4c3fb385b8ba7.tar.gz
docs: tighten up text
-rw-r--r--doc/index.rst14
1 files changed, 4 insertions, 10 deletions
diff --git a/doc/index.rst b/doc/index.rst
index 196d441..f6bc8e7 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -22,7 +22,7 @@ They can be as simple as this:
Installation
==================
-Install yoyo-migrations using from the PyPI, for example:
+Install yoyo-migrations from the PyPI:
.. code:: shell
@@ -65,8 +65,8 @@ List available migrations:
yoyo list --database sqlite:////home/sheila/important.db ./migrations
-During development, the ``yoyo develop`` command can be used to apply any
-unapplied migrations without further prompting:
+During development, the ``yoyo develop`` command applies any
+pending migrations without prompting:
.. code:: shell
@@ -77,13 +77,7 @@ unapplied migrations without further prompting:
[00000002_add-table-bar]
If there are no migrations waiting to be applied the ``develop`` command will
-instead roll back and reapply the last migration:
-
-.. code:: shell
-
- $ yoyo develop --database postgresql://localhost/dev ./migrations
- Reapplying 1 migration:
- [00000002_add-table-bar]
+instead roll back and reapply the last migration.
Connecting to a database