]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
Tweak desc for --sql to ref offline mode
authorSam Park <spark@goodrx.com>
Wed, 21 Nov 2018 04:26:05 +0000 (20:26 -0800)
committerSam Park <spark@goodrx.com>
Wed, 21 Nov 2018 04:27:41 +0000 (20:27 -0800)
For the longest time I thought `upgrade --sql head` just outputs the raw SQL for the
upgrade (as opposed to dumping the entire history in SQL).

Maybe this will help the naive like me?

alembic/config.py

index 308f26632cc319abe54fa5fab8cd14d349c4f2f9..5856099a9020936ca65362e1d0665c01f78f5c51 100644 (file)
@@ -311,7 +311,8 @@ class CommandLine(object):
                     dict(
                         action="store_true",
                         help="Don't emit SQL to database - dump to "
-                        "standard output/file instead"
+                        "standard output/file instead. See docs on "
+                        "offline mode."
                     )
                 ),
                 'tag': (