From c7d9944f7d8ef62ee853901b820a9dd099949efe Mon Sep 17 00:00:00 2001 From: 258204 <258204873@protonmail.com> Date: Sat, 19 Jun 2021 18:35:21 -0600 Subject: [PATCH] Added --json (same as --json-output) to match man --- src/sdcv.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sdcv.cpp b/src/sdcv.cpp index 60a21ad..29635d4 100644 --- a/src/sdcv.cpp +++ b/src/sdcv.cpp @@ -97,6 +97,8 @@ try { _("for use in scripts"), nullptr }, { "json-output", 'j', 0, G_OPTION_ARG_NONE, &json_output, _("print the result formatted as JSON"), nullptr }, + { "json", 'j', 0, G_OPTION_ARG_NONE, &json_output, + _("print the result formatted as JSON"), nullptr }, { "exact-search", 'e', 0, G_OPTION_ARG_NONE, &no_fuzzy, _("do not fuzzy-search for similar words, only return exact matches"), nullptr }, { "utf8-output", '0', 0, G_OPTION_ARG_NONE, &utf8_output,