From 2ffd698c0324870cb601657065c634e6d4586bd0 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Tue, 8 Nov 2022 08:13:41 -0800 Subject: [PATCH] update du docs --- docs/parsers/du.md | 4 ++++ jc/parsers/du.py | 4 ++++ man/jc.1 | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/parsers/du.md b/docs/parsers/du.md index d9bce12d..be7e007c 100644 --- a/docs/parsers/du.md +++ b/docs/parsers/du.md @@ -5,6 +5,10 @@ jc - JSON Convert `du` command output parser +The `du -h` option is not supported with the default output. If you +would like to use `du -h` or other options that change the output, be sure +to use `jc --raw` (cli) or `raw=True` (module). + Usage (cli): $ du | jc --du diff --git a/jc/parsers/du.py b/jc/parsers/du.py index ef9d68c9..96c26a3e 100644 --- a/jc/parsers/du.py +++ b/jc/parsers/du.py @@ -1,5 +1,9 @@ """jc - JSON Convert `du` command output parser +The `du -h` option is not supported with the default output. If you +would like to use `du -h` or other options that change the output, be sure +to use `jc --raw` (cli) or `raw=True` (module). + Usage (cli): $ du | jc --du diff --git a/man/jc.1 b/man/jc.1 index 2dce6692..c0d7998b 100644 --- a/man/jc.1 +++ b/man/jc.1 @@ -1,4 +1,4 @@ -.TH jc 1 2022-11-07 1.22.2 "JSON Convert" +.TH jc 1 2022-11-08 1.22.2 "JSON Convert" .SH NAME \fBjc\fP \- JSON Convert JSONifies the output of many CLI tools, file-types, and strings .SH SYNOPSIS