changeset 665:4a59972e5eb8

options: remove useless main
author David Demelier <markand@malikania.fr>
date Thu, 19 Sep 2019 11:34:32 +0000
parents 8f01ad385fe6
children 66015e773085
files cpp/options/test/main.cpp
diffstat 1 files changed, 0 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- a/cpp/options/test/main.cpp	Thu Sep 19 11:34:16 2019 +0000
+++ b/cpp/options/test/main.cpp	Thu Sep 19 11:34:32 2019 +0000
@@ -164,25 +164,3 @@
 }
 
 BOOST_AUTO_TEST_SUITE_END()
-
-#if 0
-
-#include <iostream>
-
-#include "options.hpp"
-
-int main()
-{
-	{
-	const auto [ args, options ] = options::parse({"-v"}, "v");
-	}
-	{
-	const auto [ args, options ] = options::parse({"-c", "config"}, "c:");
-	for (const auto& a : args)
-		std::cout << "a => " << a << std::endl;
-	for (const auto& [k,v] : options)
-		std::cout << k << " = " << v << std::endl;
-	}
-
-}
-#endif