From 83850fa3da8acdd26e5ffc5c2d11f65db825d0b9 Mon Sep 17 00:00:00 2001 From: David Wobrock Date: Fri, 31 May 2019 16:37:03 +0200 Subject: [PATCH] Update README: document 'applied-migrations' and 'unapplied-migrations' options --- README.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.rst b/README.rst index 509d7b4..8312237 100644 --- a/README.rst +++ b/README.rst @@ -57,6 +57,8 @@ Add the migration linter your ``INSTALLED_APPS``: ``--database DATABASE`` Specify the database for which to generate the SQL. Defaults to *default*. ``--cache-path PATH`` specify a directory that should be used to store cache-files in. ``--no-cache`` Don't use a cache. +``--applied-migrations`` Only lint migrations that are applied to the selected database. Other migrations are ignored. +``--unapplied-migrations`` Only lint migrations that are not yet applied to the selected database. Other migrations are ignored. ================================================== =========================================================================================================================== Examples