summaryrefslogtreecommitdiff
path: root/alembic/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'alembic/config.py')
-rw-r--r--alembic/config.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/alembic/config.py b/alembic/config.py
index b3fc36f..3d11916 100644
--- a/alembic/config.py
+++ b/alembic/config.py
@@ -351,6 +351,13 @@ class CommandLine(object):
action="store",
help="Specify a revision range; "
"format is [start]:[end]")
+ ),
+ 'edit': (
+ "--edit",
+ dict(
+ action="store_true",
+ help="Edit the latest revision"
+ )
)
}
positional_help = {