From d528a68c1438fe777d58943b570f4ddabb1d577c Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Tue, 13 Jan 2015 22:29:26 +0100 Subject: [PATCH] [DEV] add help in test --- test/test.cpp | 15 ++++++++++++++- test/testBoolean.h | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/test/test.cpp b/test/test.cpp index 4ce4931..d32f1ef 100644 --- a/test/test.cpp +++ b/test/test.cpp @@ -1,7 +1,7 @@ /** * @author Edouard DUPIN * - * @copyright 2011, Edouard DUPIN, all right reserved + * @copyright 2014, Edouard DUPIN, all right reserved * * @license APACHE v2.0 (see license file) */ @@ -45,6 +45,19 @@ int main(int argc, const char *argv[]) { etk::log::setLevel(etk::log::logLevelDebug); } else if (data == "-l6") { etk::log::setLevel(etk::log::logLevelVerbose); + } else if ( data == "-h" + || data == "--help") { + std::cout << "Help : " <