From 2018a4b0d1befa4fb5f7f4f4342b67d97a2ea4a3 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 4 Apr 2013 15:19:36 -0400 Subject: [PATCH] - typo - changelog: Added --head-only option to "alembic current", will print current version plus the symbol "(head)" if this version is the head or not. Courtesy Charles-Axel Dein. --- alembic/config.py | 2 +- docs/build/changelog.rst | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/alembic/config.py b/alembic/config.py index 3c51024e..822df8c7 100644 --- a/alembic/config.py +++ b/alembic/config.py @@ -197,7 +197,7 @@ class CommandLine(object): parser.add_argument("--head-only", action="store_true", help="Only show current version and " - "wheter or not this is the head revision.") + "whether or not this is the head revision.") positional_help = { 'directory': "location of scripts directory", diff --git a/docs/build/changelog.rst b/docs/build/changelog.rst index a3ecb6b2..25b72a3f 100644 --- a/docs/build/changelog.rst +++ b/docs/build/changelog.rst @@ -6,6 +6,15 @@ Changelog .. changelog:: :version: 0.5.0 + .. change:: + :tags: feature + :pullreq: 28 + + Added --head-only option to "alembic current", + will print current version plus the symbol + "(head)" if this version is the head or not. + Courtesy Charles-Axel Dein. + .. change:: :tags: bug :tickets: 110 -- 2.47.2