summaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2020-04-02 11:59:34 -0700
committerGitHub <noreply@github.com>2020-04-02 13:59:34 -0500
commite24e6f3620996ee9e5010d30fefc51247cc55fdc (patch)
treecb44e6cd092956a05ac00d4104d19bd0e1f36eb4 /test/unit
parentaa6fb6fa3df0b1519e6763e72541c022396ab1dc (diff)
Remove undocumented/uncommon aliases (#4177)
This commit removes aliases that are either undocumented or associated with uncommon options. Note: The removal of --statistics, --language, and --output-language may be controversial. The options were undocumented previously and I am in favor of simplifying the options as much as possible, however. Please let me know what you think.
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/expr/expr_public.h2
-rw-r--r--test/unit/expr/node_black.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/expr/expr_public.h b/test/unit/expr/expr_public.h
index da9434d79..ce1a23655 100644
--- a/test/unit/expr/expr_public.h
+++ b/test/unit/expr/expr_public.h
@@ -57,7 +57,7 @@ private:
{
char* argv[2];
argv[0] = strdup("");
- argv[1] = strdup("--output-language=ast");
+ argv[1] = strdup("--output-lang=ast");
Options::parseOptions(&opts, 2, argv);
free(argv[0]);
free(argv[1]);
diff --git a/test/unit/expr/node_black.h b/test/unit/expr/node_black.h
index e4a0dbb36..5aafaeaa2 100644
--- a/test/unit/expr/node_black.h
+++ b/test/unit/expr/node_black.h
@@ -61,7 +61,7 @@ class NodeBlack : public CxxTest::TestSuite {
{
char* argv[2];
argv[0] = strdup("");
- argv[1] = strdup("--output-language=ast");
+ argv[1] = strdup("--output-lang=ast");
Options::parseOptions(&opts, 2, argv);
free(argv[0]);
free(argv[1]);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback