1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

doc update

This commit is contained in:
Kelly Brazil
2022-03-23 10:50:34 -07:00
parent f3aa797d96
commit e66a82ff49
3 changed files with 6 additions and 5 deletions

View File

@ -1,11 +1,12 @@
jc changelog jc changelog
20220309 v1.18.6 (in progress) 20220323 v1.18.6
- Add pidstat command parser tested on linux - Add pidstat command parser tested on linux
- Add pidstat command streaming parser tested on linux - Add pidstat command streaming parser tested on linux
- Add mpstat command parser tested on linux - Add mpstat command parser tested on linux
- Add mpstat command streaming parser tested on linux - Add mpstat command streaming parser tested on linux
- Add ASCII table parser - Add single-line ASCII and Unicode table parser
- Add multi-line ASCII and Unicode table parser
- Add documentation option to parser_info() and all_parser_info() - Add documentation option to parser_info() and all_parser_info()
20220305 v1.18.5 20220305 v1.18.5

View File

@ -252,7 +252,7 @@ def _fixup_separators(line: str) -> str:
def _normalize_rows(table_lines: Iterable[str]) -> List[Tuple[int, List[str]]]: def _normalize_rows(table_lines: Iterable[str]) -> List[Tuple[int, List[str]]]:
""" """
Return a List of tuples of a row counters and data lines. Return a List of tuples of row-counters and data lines.
""" """
result = [] result = []
header_found = False header_found = False
@ -293,7 +293,7 @@ def _normalize_rows(table_lines: Iterable[str]) -> List[Tuple[int, List[str]]]:
row_counter += 1 row_counter += 1
continue continue
# subsequent data row found # data row found
if not _is_separator(line) and header_found and data_found: if not _is_separator(line) and header_found and data_found:
line = _fixup_separators(line) line = _fixup_separators(line)
line_list = line.split('|') line_list = line.split('|')

View File

@ -1,4 +1,4 @@
.TH jc 1 2022-03-22 1.18.6 "JSON Convert" .TH jc 1 2022-03-23 1.18.6 "JSON Convert"
.SH NAME .SH NAME
jc \- JSONifies the output of many CLI tools and file-types jc \- JSONifies the output of many CLI tools and file-types
.SH SYNOPSIS .SH SYNOPSIS