From e24e6f3620996ee9e5010d30fefc51247cc55fdc Mon Sep 17 00:00:00 2001 From: Andres Noetzli Date: Thu, 2 Apr 2020 11:59:34 -0700 Subject: 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. --- test/unit/expr/expr_public.h | 2 +- test/unit/expr/node_black.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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]); -- cgit v1.2.3