Return on wrong argc

This commit is contained in:
Timo Schmidt 2023-03-19 18:21:09 +01:00
parent 686c98f607
commit 830f860e02
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@
/* By: jtorrez- <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/18 20:15:26 by jtorrez- #+# #+# */
/* Updated: 2023/03/19 18:07:42 by tischmid ### ########.fr */
/* Updated: 2023/03/19 18:18:18 by tischmid ### ########.fr */
/* */
/* ************************************************************************** */
@ -33,6 +33,7 @@ int main(int argc, char *argv[])
ft_putstr("Usage: ");
ft_putstr(argv[0]);
ft_putstr(" [WIDTH HEIGHT]\n");
return (1);
}
if (argc == 3)
{