From cfe98506a56f095b59e4d46e48c3a5cdf0cfd0d7 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Wed, 7 Sep 2022 14:25:09 -0700 Subject: [PATCH] fix help examples --- jc/cli.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jc/cli.py b/jc/cli.py index cab5581c..6696651e 100644 --- a/jc/cli.py +++ b/jc/cli.py @@ -185,11 +185,11 @@ Usage: Standard syntax: - COMMAND | jc PARSER [OPTIONS] + COMMAND | jc [OPTIONS] PARSER - cat FILE | jc PARSER [OPTIONS] + cat FILE | jc [OPTIONS] PARSER - echo STRING | jc PARSER [OPTIONS] + echo STRING | jc [OPTIONS] PARSER Magic syntax: @@ -203,8 +203,8 @@ Options: {options_string} Examples: Standard Syntax: - $ dig www.google.com | jc --dig --pretty - $ cat /proc/meminfo | jc --proc --pretty + $ dig www.google.com | jc --pretty --dig + $ cat /proc/meminfo | jc --pretty --proc Magic Syntax: $ jc --pretty dig www.google.com