Skip to content

Commit

Permalink
docs(changelog): Update message about --reset-dimensions for agate-ex…
Browse files Browse the repository at this point in the history
…cel 0.4.0
  • Loading branch information
jpmckinney committed Nov 7, 2023
1 parent dc31fbe commit 394537a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Unreleased
----------

* :doc:`/scripts/in2csv` adds a :code:`--reset-dimensions` option to `recalculate <https://openpyxl.readthedocs.io/en/stable/optimized.html#worksheet-dimensions>`_ the dimensions of an XLSX file, instead of trusting the file's metadata.
* :doc:`/scripts/in2csv` adds a :code:`--reset-dimensions` option to `recalculate <https://openpyxl.readthedocs.io/en/stable/optimized.html#worksheet-dimensions>`_ the dimensions of an XLSX file, instead of trusting the file's metadata. csvkit's dependency `agate-excel <https://agate-excel.readthedocs.io/en/latest/>`_ 0.4.0 automatically recalculates the dimensions if the file's metadata expresses dimensions of "A1:A1" (a single cell).

1.3.0 - October 18, 2023
------------------------
Expand Down
2 changes: 1 addition & 1 deletion csvkit/utilities/in2csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def add_arguments(self):
'--use-sheet-names', dest='use_sheet_names', action='store_true',
help='Use the sheet names as file names when --write-sheets is set.')
self.argparser.add_argument(
'--reset-dimensions', dest='reset_dimensions', action='store_true',
'--reset-dimensions', dest='reset_dimensions', action='store_true', default=None,
help='Ignore the sheet dimensions provided by the XLSX file.')
self.argparser.add_argument(
'--encoding-xls', dest='encoding_xls',
Expand Down

0 comments on commit 394537a

Please sign in to comment.