Update README: consistent command line options and remove obsolete option
This commit is contained in:
1 parent
42a83f18a0
commit
b17c872996
1 file changed
+1
-2
+1
-2
@@ -43,12 +43,11 @@ Add the migration linter your ``INSTALLED_APPS``:
|
||||
]
|
||||
|
||||
|
||||
``python manage.py lintmigrations [GIT_COMMIT_ID] [--ignore-name-contains=IGNORE_NAME_CONTAINS] [--include-apps INCLUDE_APPS [INCLUDE_APPS ...] | --exclude-apps EXCLUDE_APPS [EXCLUDE_APPS ...]]``
|
||||
``python manage.py lintmigrations [GIT_COMMIT_ID] [--ignore-name-contains IGNORE_NAME_CONTAINS] [--include-apps INCLUDE_APPS [INCLUDE_APPS ...] | --exclude-apps EXCLUDE_APPS [EXCLUDE_APPS ...]]``
|
||||
|
||||
================================================== ===========================================================================================================================
|
||||
Parameter Description
|
||||
================================================== ===========================================================================================================================
|
||||
``DJANGO_PROJECT_FOLDER`` An absolute or relative path to the django project.
|
||||
``GIT_COMMIT_ID`` If specified, only migrations since this commit will be taken into account. If not specified, all migrations will be linted.
|
||||
``--ignore-name-contains IGNORE_NAME_CONTAINS`` Ignore migrations containing this name.
|
||||
``--ignore-name IGNORE_NAME [IGNORE_NAME ...]`` Ignore migrations with exactly one of these names.
|
||||
|
||||
Reference in new issue
Block a user