From eaa5deb1c053ab94ad3e8f625f5157c4f1d22afe Mon Sep 17 00:00:00 2001
From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz>
Date: Sun, 1 Jan 2017 20:18:15 +0100
Subject: [PATCH] allow disable xml optimize in echo

---
 aecho2/src/aecho.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/aecho2/src/aecho.cpp b/aecho2/src/aecho.cpp
index 1c530e8e43..cc35aaeccd 100644
--- a/aecho2/src/aecho.cpp
+++ b/aecho2/src/aecho.cpp
@@ -30,12 +30,17 @@ int main(int argc, char** argv) {
 		TCLAP::SwitchArg verbose(		"v",	"verbose",	"Be verbose",			false);
 		cmd.add( verbose );
 
+		TCLAP::SwitchArg no_optimize(		"n",	"no_optimize",	"Do not optimize xml",		false);
+		cmd.add( no_optimize );
+
 		cmd.parse(argc, argv);
 
 		if(verbose.isSet())
 			common::GlobalData::verbose = true;
 		if(measure.isSet())
 			common::GlobalData::measure = true;
+		if(no_optimize.isSet())
+			common::GlobalData::optimizeXml = false;
 
 		measurements::start("Overal", measurements::Type::OVERALL);
 		measurements::start("Input read", measurements::Type::AUXILIARY);
-- 
GitLab