diff --git a/CHANGELOG b/CHANGELOG index eced6b70..92ae4afa 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -4,6 +4,7 @@ jc changelog - Fix `zpool-status` command parser for lines that start with tab - Fix `timedatectl` command parser when RTC set to local - Fix to ensure `py.typed` file is included in the package wheel +- Fix `lsusb` command parser to support CDC MBIM and CDC MBIM Extended fields - Add support for the `timesync-status` for the `timedatectl` command parser 20230227 v1.23.0 diff --git a/docs/parsers/lsusb.md b/docs/parsers/lsusb.md index f9168da5..15834513 100644 --- a/docs/parsers/lsusb.md +++ b/docs/parsers/lsusb.md @@ -102,6 +102,24 @@ Schema: ] } }, + "cdc_mbim": { + "": { + "value": string, + "description": string, + "attributes": [ + string + ] + } + }, + "cdc_mbim_extended": { + "": { + "value": string, + "description": string, + "attributes": [ + string + ] + } + }, "videocontrol_descriptors": [ { "": { @@ -312,4 +330,4 @@ Returns: ### Parser Information Compatibility: linux -Version 1.3 by Kelly Brazil (kellyjonbrazil@gmail.com) +Version 1.4 by Kelly Brazil (kellyjonbrazil@gmail.com) diff --git a/jc/parsers/lsusb.py b/jc/parsers/lsusb.py index 0d707754..075c7fc0 100644 --- a/jc/parsers/lsusb.py +++ b/jc/parsers/lsusb.py @@ -309,7 +309,7 @@ from jc.exceptions import ParseError class info(): """Provides parser metadata (version, author, etc.)""" - version = '1.3' + version = '1.4' description = '`lsusb` command parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' diff --git a/man/jc.1 b/man/jc.1 index 69922fcd..5aa93e78 100644 --- a/man/jc.1 +++ b/man/jc.1 @@ -1,4 +1,4 @@ -.TH jc 1 2023-03-19 1.23.1 "JSON Convert" +.TH jc 1 2023-03-22 1.23.1 "JSON Convert" .SH NAME \fBjc\fP \- JSON Convert JSONifies the output of many CLI tools, file-types, and strings