1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2026-04-24 20:56:11 +02:00

doc update

This commit is contained in:
Kelly Brazil
2022-09-26 11:41:23 -07:00
parent f178bea0d0
commit 00129f4b40
4 changed files with 18 additions and 17 deletions
+6 -6
View File
@@ -3,19 +3,19 @@
# jc.parsers.proc\_driver\_rtc
jc - JSON Convert `/proc/driver_rtc` file parser
jc - JSON Convert `/proc/driver/rtc` file parser
Usage (cli):
$ cat /proc/driver_rtc | jc --proc
$ cat /proc/driver/rtc | jc --proc
or
$ jc /proc/driver_rtc
$ jc /proc/driver/rtc
or
$ cat /proc/driver_rtc | jc --proc-driver-rtc
$ cat /proc/driver/rtc | jc --proc-driver-rtc
Usage (module):
@@ -56,7 +56,7 @@ are attempted. If you do not want this behavior, then use `--raw` (cli) or
Examples:
$ cat /proc/driver_rtc | jc --proc -p
$ cat /proc/driver/rtc | jc --proc -p
{
"rtc_time": "16:09:21",
"rtc_date": "2022-09-03",
@@ -78,7 +78,7 @@ Examples:
"batt_status": "okay"
}
$ cat /proc/driver_rtc | jc --proc -p -r
$ cat /proc/driver/rtc | jc --proc -p -r
{
"rtc_time": "16:09:21",
"rtc_date": "2022-09-03",