fixed norme

This commit is contained in:
mdev9
2024-02-21 13:15:46 +01:00
parent a9c8551ffc
commit 3d540f0d6d
13 changed files with 130 additions and 96 deletions

View File

@ -6,7 +6,7 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/16 21:02:54 by marde-vr #+# #+# */
/* Updated: 2024/02/16 23:59:37 by marde-vr ### ########.fr */
/* Updated: 2024/02/20 21:04:53 by marde-vr ### ########.fr */
/* */
/* ************************************************************************** */
@ -16,6 +16,7 @@ int cd(t_cmd *args)
{
char *new_wd;
ft_printf_fd(2, "%s\n", args->next->next->token);
if (args->next && args->next->next && args->next->next->type == ARG)
{
ft_printf_fd(2, "minishell: cd: too many arguments\n");