Usage message if error

This commit is contained in:
2025-09-29 07:29:43 +02:00
parent bc974067cb
commit 8d98a1fbd5

View File

@@ -1,12 +1,12 @@
/* ************************************************************************** */ /* ************************************************************************** */
/* */ /* */
/* ::: :::::::: */ /* ::: :::::::: */
/* Harl.hpp :+: :+: :+: */ /* Harl.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */ /* +:+ +:+ +:+ */
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */ /* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2025/09/06 02:27:27 by aortigos #+# #+# */ /* Created: 2025/09/06 02:27:27 by aortigos #+# #+# */
/* Updated: 2025/09/06 02:28:09 by aortigos ### ########.fr */ /* Updated: 2025/09/29 07:28:40 by aortigos ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@@ -55,9 +55,9 @@ void Harl::complain( std::string level )
{ {
(this->*funcs[i])(); (this->*funcs[i])();
std::cout << std::endl; std::cout << std::endl;
break ; return ;
} }
i++; i++;
} }
std::cout << "Uso: ./harl {DEBUG | INFO | WARNING | ERROR}" << std::endl;
} }