From be1dd031f17740702a5d21d66f4606622d164bd0 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Sun, 24 Nov 2024 13:38:10 -0800 Subject: [PATCH] doc update --- CHANGELOG | 2 ++ jc/parsers/wg_show.py | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 80a19377..5b8b6135 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,7 @@ jc changelog 20241120 v1.25.4 - Add `ipconfig` command parser (`ipconfig` for Windows) +- Add `wg show` command parser - Enhance `ethtool` parser to support `link_partner_advertised_link_modes` - Enhance `ifconfig` parser to support `utun` interfaces with assigned IPv4 addresses on macOS - Enhance `nsd-control` parser with additional state fields @@ -21,6 +22,7 @@ jc changelog 20240609 v1.25.3 - Enhance `bluetoothctl` parser with added `battery_percentage` field - Enhance `git-log` standard and streaming parsers with added `lines_changed` field under `file_stats` +- Fix `lspci` parser to handle `physlot` fields with a range value - Fix `pci-ids` parser to correctly handle multiple subdevices - Fix `pip-show` parser to handle multi-line fields with a beginning blank line - Fix `ss` parser to correctly handle the `Recv-Q` field being too close to the `Status` field diff --git a/jc/parsers/wg_show.py b/jc/parsers/wg_show.py index 608d953a..756facb2 100644 --- a/jc/parsers/wg_show.py +++ b/jc/parsers/wg_show.py @@ -8,7 +8,7 @@ Usage (cli): or - $ jc wg-show + $ jc wg show all dump Usage (module): @@ -85,7 +85,6 @@ Examples: } ] - $ wg show all dump | jc --wg-show -p -r [ { @@ -151,7 +150,7 @@ class info: author_email = "hamzasaht01@gmail.com" compatible = ["linux", "darwin", "cygwin", "win32", "aix", "freebsd"] tags = ["command"] - magic_commands = ["wg-show"] + magic_commands = ["wg show"] __version__ = info.version