diff --git a/docs/source/whatsnew/1.0.3.txt b/docs/source/whatsnew/1.0.3.txt index fb0cac6f..e21f02a7 100644 --- a/docs/source/whatsnew/1.0.3.txt +++ b/docs/source/whatsnew/1.0.3.txt @@ -56,4 +56,6 @@ None Miscellaneous ~~~~~~~~~~~~~ -None +* Changed the short-opt for ``--before`` in the ``zipline clean`` + entrypoint. The new argument is ``-e``. The old argument, ``-b``, conflicted + with the ``--bundle`` short-opt (:issue:`1625`). diff --git a/zipline/__main__.py b/zipline/__main__.py index 8e719690..b42a90ce 100644 --- a/zipline/__main__.py +++ b/zipline/__main__.py @@ -323,7 +323,7 @@ def ingest(bundle, assets_version, show_progress): help='The data bundle to clean.', ) @click.option( - '-b', + '-e', '--before', type=Timestamp(), help='Clear all data before TIMESTAMP.'