main: usage spell fixes
authorPaul Donald <newtwen+github@gmail.com>
Mon, 11 Nov 2024 14:36:42 +0000 (15:36 +0100)
committerAlexander Couzens <lynxis@fe80.eu>
Tue, 10 Feb 2026 13:59:14 +0000 (14:59 +0100)
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
main.c

diff --git a/main.c b/main.c
index a0c7b0390c41997d2b600295a202a22a1411cd5c..6f29f59af07f815b30761735bed656b691344a35 100644 (file)
--- a/main.c
+++ b/main.c
@@ -46,7 +46,7 @@ print_usage(char *app)
        "  # %s [-a] [-i <file> | -s \"json...\"] {-t <pattern> | -e <pattern>}\n"
        "  -q           Quiet, no errors are printed\n"
        "  -h, --help   Print this help\n"
-       "  -a           Implicitely treat input as array, useful for JSON logs\n"
+       "  -a           Implicitly treat input as array; useful for JSON logs\n"
        "  -i path      Specify a JSON file to parse\n"
        "  -s \"json\"  Specify a JSON string to parse\n"
        "  -l limit     Specify max number of results to show\n"
@@ -59,7 +59,7 @@ print_usage(char *app)
        "  This tool implements $, @, [], * and the union operator ','\n"
        "  plus the usual expressions and literals.\n"
        "  It does not support the recursive child search operator '..' or\n"
-       "  the '?()' and '()' filter expressions as those would require a\n"
+       "  the '?()' or '()' filter expressions as those would require a\n"
        "  complete JavaScript engine to support them.\n\n"
        "== Examples ==\n\n"
        "  Display the first IPv4 address on lan:\n"