Usage message if error
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* Harl.hpp :+: :+: :+: */
|
||||
/* Harl.cpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* 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])();
|
||||
std::cout << std::endl;
|
||||
break ;
|
||||
return ;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
|
||||
std::cout << "Uso: ./harl {DEBUG | INFO | WARNING | ERROR}" << std::endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user