diff --git a/console/tidy.c b/console/tidy.c index af76f10..015b211 100644 --- a/console/tidy.c +++ b/console/tidy.c @@ -388,6 +388,7 @@ static const CmdOptDesc cmdopt_defs[] = { { CmdOptMisc, "-version", TC_OPT_VERSION, 0, NULL, "-v" }, { CmdOptMisc, "-help", TC_OPT_HELP, 0, NULL, "-h", "-?" }, { CmdOptMisc, "-help-config", TC_OPT_HELPCFG, 0, NULL }, + { CmdOptMisc, "-help-env", TC_OPT_HELPENV, 0, NULL }, { CmdOptMisc, "-show-config", TC_OPT_SHOWCFG, 0, NULL }, { CmdOptMisc, "-help-option <%s>", TC_OPT_HELPOPT, TC_LABEL_OPT, NULL }, { CmdOptMisc, "-language <%s>", TC_OPT_LANGUAGE, TC_LABEL_LANG, "language: <%s>" }, diff --git a/include/tidyenum.h b/include/tidyenum.h index 35b530d..1357bdb 100644 --- a/include/tidyenum.h +++ b/include/tidyenum.h @@ -432,6 +432,7 @@ extern "C" { FN(TC_OPT_GDOC) \ FN(TC_OPT_HELP) \ FN(TC_OPT_HELPCFG) \ + FN(TC_OPT_HELPENV) \ FN(TC_OPT_HELPOPT) \ FN(TC_OPT_IBM858) \ FN(TC_OPT_INDENT) \ diff --git a/localize/translations/tidy.pot b/localize/translations/tidy.pot index a5b0783..8fce546 100644 --- a/localize/translations/tidy.pot +++ b/localize/translations/tidy.pot @@ -5,7 +5,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: HTML Tidy poconvert.rb\n" "Project-Id-Version: \n" -"POT-Creation-Date: 2017-10-01 18:57:47\n" +"POT-Creation-Date: 2017-10-01 19:19:32\n" "Last-Translator: jderry\n" "Language-Team: \n" @@ -3141,6 +3141,10 @@ msgctxt "TC_OPT_HELPCFG" msgid "list all configuration options" msgstr "" +msgctxt "TC_OPT_HELPENV" +msgid "show information about the environment and runtime configuration" +msgstr "" + msgctxt "TC_OPT_HELPOPT" msgid "show a description of the