From 1825a45478cfeefc7c1fc2c997b9da0eb7cef4c4 Mon Sep 17 00:00:00 2001 From: Raphael Date: Tue, 10 Jun 2025 16:08:48 +0200 Subject: [PATCH] build(make): now Makefile compile all the commands --- sources/commands/modes.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sources/commands/modes.cpp b/sources/commands/modes.cpp index 9f13ddb..6c617e8 100644 --- a/sources/commands/modes.cpp +++ b/sources/commands/modes.cpp @@ -6,7 +6,7 @@ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/05/24 17:29:48 by rparodi #+# #+# */ -/* Updated: 2025/06/10 13:39:23 by rparodi ### ########.fr */ +/* Updated: 2025/06/10 16:08:09 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ @@ -35,11 +35,10 @@ void Mode::checkMode() { for (size_t i = 1; i < flags.size(); ++i) { s_mode m; - m.mode = ERROR_MODE; - m.add = add; + m.mode = ERROR_MODE; + m.add = add; m.remove = !add; m.arguments.clear(); - switch (flags[i]) { case 'i':