mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-06 07:47:53 +10:00
refactor: Replace --index with --with-headers in the list command to make it more explicit. Change it so it affects the csv output too.
This commit is contained in:
committed by
Cristian Vargas
parent
2aa8d69b72
commit
fa622d3e14
@@ -709,7 +709,7 @@ def list_all(filter_patterns_str: Optional[str]=None,
|
||||
csv: Optional[str]=None,
|
||||
json: bool=False,
|
||||
html: bool=False,
|
||||
index: bool=False,
|
||||
with_headers: bool=False,
|
||||
out_dir: str=OUTPUT_DIR) -> Iterable[Link]:
|
||||
"""List, filter, and export information about archive entries"""
|
||||
|
||||
@@ -742,7 +742,7 @@ def list_all(filter_patterns_str: Optional[str]=None,
|
||||
out_dir=out_dir,
|
||||
)
|
||||
|
||||
print(printable_folders(folders, json=json, csv=csv, html=html, index=index))
|
||||
print(printable_folders(folders, json=json, csv=csv, html=html, with_headers=with_headers))
|
||||
return folders
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user