[enh] Warn user about --revert option

This commit is contained in:
ljf 2019-08-14 12:27:32 +02:00
parent fc426cff69
commit 81ae41a3e4
2 changed files with 2 additions and 2 deletions

View file

@ -1736,7 +1736,7 @@ tools:
help: Skip specified migrations (to be used only if you know what you are doing)
action: store_true
--revert:
help: Attempt to revert already-ran migrations
help: Attempt to revert already-ran migrations (to be used only if you know what you are doing)
action: store_true
--force-rerun:
help: Re-run already-ran migrations (to be used only if you know what you are doing)

View file

@ -1046,7 +1046,7 @@ def tools_migrations_migrate(targets=[], skip=False, auto=False, force_rerun=Fal
--skip Skip specified migrations (to be used only if you know what you are doing) (must explicit which migrations)
--auto Automatic mode, won't run manual migrations (to be used only if you know what you are doing) (must explicit which migrations)
--force-rerun Re-run already-ran migrations (to be used only if you know what you are doing)(must explicit which migrations)
--revert Attempt to revert already-ran migrations (must explicit which migrations)
--revert Attempt to revert already-ran migrations (to be used only if you know what you are doing)(must explicit which migrations)
--accept-disclaimer Accept disclaimers of migrations (please read them before using this option) (only valid for one migration)
"""