diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a87399..f65ce28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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: diff --git a/README.rst b/README.rst index 866da9e..a085442 100644 --- a/README.rst +++ b/README.rst @@ -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