Add 'quiet' option to README and CHANGELOG
This commit is contained in:
1 parent
ceabb40a62
commit
d7eb85709d
2 files changed
+3
-1
No files matched your search
@@ -2,6 +2,7 @@
|
||||
|
||||
* Add `--include-migrations-from` option to only consider migrations specified in a given file.
|
||||
No matter if the migrations are selected from a git commit or not, we only select the ones in the given file.
|
||||
* Add ``--quiet {ok,ignore,error}`` option to remove different or multiple types of messages from being printed to stdout.
|
||||
|
||||
Fixed bugs:
|
||||
|
||||
|
||||
+2
-1
@@ -43,7 +43,7 @@ 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 ...]] [--exclude-migration-tests MIGRATION_TEST_CODE [MIGRATION_TEST_CODE ...]] [--project-root-path DJANGO_PROJECT_FOLDER] [--include-migrations-from FILE_PATH]``
|
||||
``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 ...]] [--exclude-migration-tests MIGRATION_TEST_CODE [MIGRATION_TEST_CODE ...]] [--project-root-path DJANGO_PROJECT_FOLDER] [--include-migrations-from FILE_PATH] [--quiet {ok,ignore,error} [{ok,ignore,error} ...]]``
|
||||
|
||||
================================================================ ===========================================================================================================================
|
||||
Parameter Description
|
||||
@@ -62,6 +62,7 @@ Add the migration linter your ``INSTALLED_APPS``:
|
||||
``--unapplied-migrations`` Only lint migrations that are not yet applied to the selected database. Other migrations are ignored.
|
||||
``--project-root-path DJANGO_PROJECT_FOLDER`` An absolute or relative path to the django project.
|
||||
``--include-migrations-from FILE_PATH`` If specified, only migrations listed in the given file will be considered.
|
||||
``--quiet or -q {ok,ignore,error}`` Suppress certain output messages, instead of writing them to stdout.
|
||||
================================================================ ===========================================================================================================================
|
||||
|
||||
Examples
|
||||
|
||||
Reference in new issue
Block a user