Skip to content

Commit 098f952

Browse files
authored
Merge branch 'master' into 30-formats-cli
2 parents 0743158 + 8284d1e commit 098f952

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

examples/help/unflatten/expected.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ optional arguments:
3333
Defaults to utf8.
3434
-o OUTPUT_NAME, --output-name OUTPUT_NAME
3535
Name of the outputted file. Will have an extension
36-
appended as appropriate. Defaults to unflattened.json
36+
appended as appropriate.
3737
-c CELL_SOURCE_MAP, --cell-source-map CELL_SOURCE_MAP
3838
Path to write a cell source map to. Will have an
3939
extension appended as appropriate.

flattentool/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
from collections import OrderedDict
1313

1414

15-
def create_template(schema, output_name='template', output_format='all', main_sheet_name='main', flatten=False, rollup=False, root_id=None, use_titles=False, **_):
15+
def create_template(schema, output_name='template', output_format='all', main_sheet_name='main',
16+
rollup=False, root_id=None, use_titles=False, **_):
1617
"""
1718
Creates template file(s) from given inputs
1819
This function is built to deal with commandline input and arguments

flattentool/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def create_parser():
132132
help="Encoding of the input file(s) (only relevant for CSV). This can be any encoding recognised by Python. Defaults to utf8.")
133133
parser_unflatten.add_argument(
134134
"-o", "--output-name",
135-
help="Name of the outputted file. Will have an extension appended as appropriate. Defaults to unflattened.json")
135+
help="Name of the outputted file. Will have an extension appended as appropriate.")
136136
parser_unflatten.add_argument(
137137
"-c", "--cell-source-map",
138138
help="Path to write a cell source map to. Will have an extension appended as appropriate.")

0 commit comments

Comments
 (0)