aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/arg_parser.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-26 19:23:54 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commit901e3e4fbfb22566c44c5ab305c93f70c7b0aa49 (patch)
treea857731de942d182075941d098c8e1396272deab /libtests/arg_parser.cc
parent700dfa40d3d2c5b60bf5937f74c0ab59561115f8 (diff)
downloadqpdf-901e3e4fbfb22566c44c5ab305c93f70c7b0aa49.tar.zst
QPDFArgParser: remove unused copyFromOtherTable
This was used, but it no longer is, so let's not keep the extra complexity around.
Diffstat (limited to 'libtests/arg_parser.cc')
-rw-r--r--libtests/arg_parser.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/libtests/arg_parser.cc b/libtests/arg_parser.cc
index 340bd8d4..602a0f3f 100644
--- a/libtests/arg_parser.cc
+++ b/libtests/arg_parser.cc
@@ -67,7 +67,6 @@ ArgParser::initOptions()
ap.selectMainOptionTable();
ap.addBare("sheep", [this](){ this->ap.selectOptionTable("sheep"); });
ap.registerOptionTable("sheep", nullptr);
- ap.copyFromOtherTable("ewe", "baaa");
ap.addHelpFooter("For more help, read the manual.\n");
ap.addHelpTopic(
@@ -190,12 +189,6 @@ ArgParser::test_exceptions()
err("unknown table", [this]() {
ap.selectOptionTable("aardvark");
});
- err("copy from unknown table", [this]() {
- ap.copyFromOtherTable("one", "two");
- });
- err("copy unknown from other table", [this]() {
- ap.copyFromOtherTable("two", "baaa");
- });
err("add existing help topic", [this]() {
ap.addHelpTopic("baaa", "potato", "salad");
});