Explorar el Código

Refs #23359 -- Corrected showmigrations help text for the --database option.

Wilhelm Klopp hace 3 años
padre
commit
bbf93efa19
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      django/core/management/commands/showmigrations.py

+ 4 - 1
django/core/management/commands/showmigrations.py

@@ -17,7 +17,10 @@ class Command(BaseCommand):
         )
         parser.add_argument(
             '--database', default=DEFAULT_DB_ALIAS,
-            help='Nominates a database to synchronize. Defaults to the "default" database.',
+            help=(
+                'Nominates a database to show migrations for. Defaults to the '
+                '"default" database.'
+            ),
         )
 
         formats = parser.add_mutually_exclusive_group()