mirror of
https://github.com/Dushistov/sdcv.git
synced 2025-12-15 17:31:56 +00:00
Merge pull request #73 from 258204/json
Added --json (same as --json-output) to match man
This commit is contained in:
@@ -97,6 +97,8 @@ try {
|
|||||||
_("for use in scripts"), nullptr },
|
_("for use in scripts"), nullptr },
|
||||||
{ "json-output", 'j', 0, G_OPTION_ARG_NONE, &json_output,
|
{ "json-output", 'j', 0, G_OPTION_ARG_NONE, &json_output,
|
||||||
_("print the result formatted as JSON"), nullptr },
|
_("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,
|
{ "exact-search", 'e', 0, G_OPTION_ARG_NONE, &no_fuzzy,
|
||||||
_("do not fuzzy-search for similar words, only return exact matches"), nullptr },
|
_("do not fuzzy-search for similar words, only return exact matches"), nullptr },
|
||||||
{ "utf8-output", '0', 0, G_OPTION_ARG_NONE, &utf8_output,
|
{ "utf8-output", '0', 0, G_OPTION_ARG_NONE, &utf8_output,
|
||||||
|
|||||||
Reference in New Issue
Block a user