From 79cb156441529683aceedcce363c6266eaa53b0d Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Sat, 23 Mar 2024 10:58:36 -0700 Subject: [PATCH] doc update --- CHANGELOG | 3 ++- docs/parsers/ethtool.md | 3 +++ jc/parsers/ethtool.py | 3 +++ man/jc.1 | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 63f99298..1799e51d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,6 @@ jc changelog -20240318 v1.25.2 +20240323 v1.25.2 - Add `apt-cache-show` command parser - Add `apt-get-sqq` command parser - Add `ethtool` command parser @@ -14,6 +14,7 @@ jc changelog - Enhance `/proc/pid/stat` parser to support "Idle" state - Enhance `rpm_qi` and `pkg_index_deb` parsers to split list fields into arrays - Fix `iwconfig` parser to handle more special characters in the SSID name +- Fix `xrandr` parser to ignore extra horizontal and vertical stats lines - Add aarch64 binaries to Releases for macOS and Linux - Documentation and doc build updates diff --git a/docs/parsers/ethtool.md b/docs/parsers/ethtool.md index d4104714..bd0946b0 100644 --- a/docs/parsers/ethtool.md +++ b/docs/parsers/ethtool.md @@ -24,6 +24,9 @@ Usage (module): Schema: +Note: many units fields are converted to integers and floats +when detected. Use raw output for the original string values. + { "name": string, "supported_ports": [ diff --git a/jc/parsers/ethtool.py b/jc/parsers/ethtool.py index d6a52fa8..3a353a3f 100644 --- a/jc/parsers/ethtool.py +++ b/jc/parsers/ethtool.py @@ -19,6 +19,9 @@ Usage (module): Schema: +Note: many units fields are converted to integers and floats +when detected. Use raw output for the original string values. + { "name": string, "supported_ports": [ diff --git a/man/jc.1 b/man/jc.1 index 604a895f..2cf1477a 100644 --- a/man/jc.1 +++ b/man/jc.1 @@ -1,4 +1,4 @@ -.TH jc 1 2024-03-19 1.25.2 "JSON Convert" +.TH jc 1 2024-03-23 1.25.2 "JSON Convert" .SH NAME \fBjc\fP \- JSON Convert JSONifies the output of many CLI tools, file-types, and strings