From 049e93707c11333d16c3ba1958a9474f71fcfbee Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Sat, 18 Mar 2023 15:16:02 -0700 Subject: [PATCH] doc update --- docs/parsers/timedatectl.md | 23 +++++++++++++++++++++-- man/jc.1 | 2 +- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/docs/parsers/timedatectl.md b/docs/parsers/timedatectl.md index 080767e8..b6fe49e7 100644 --- a/docs/parsers/timedatectl.md +++ b/docs/parsers/timedatectl.md @@ -5,6 +5,8 @@ jc - JSON Convert `timedatectl` command output parser +Also supports the `timesync-status` option. + The `epoch_utc` calculated timestamp field is timezone-aware and is only available if the `universal_time` field is available. @@ -34,7 +36,24 @@ Schema: "system_clock_synchronized": boolean, "systemd-timesyncd.service_active": boolean, "rtc_in_local_tz": boolean, - "dst_active": boolean + "dst_active": boolean, + "server": string, + "poll_interval": string, + "leap": string, + "version": integer, + "stratum": integer, + "reference": string, + "precision": string, + "root_distance": string, + "offset": float, + "offset_unit": string, + "delay": float, + "delay_unit": string, + "jitter": float, + "jitter_unit": string, + "packet_count": integer, + "frequency": float, + "frequency_unit": string } Examples: @@ -87,4 +106,4 @@ Returns: ### Parser Information Compatibility: linux -Version 1.7 by Kelly Brazil (kellyjonbrazil@gmail.com) +Version 1.8 by Kelly Brazil (kellyjonbrazil@gmail.com) diff --git a/man/jc.1 b/man/jc.1 index ec81bea1..42149b69 100644 --- a/man/jc.1 +++ b/man/jc.1 @@ -1,4 +1,4 @@ -.TH jc 1 2023-03-05 1.23.1 "JSON Convert" +.TH jc 1 2023-03-18 1.23.1 "JSON Convert" .SH NAME \fBjc\fP \- JSON Convert JSONifies the output of many CLI tools, file-types, and strings