ajustement stop pour exit et usage
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
|
||||
void ps_usage(void)
|
||||
{
|
||||
ft_printf("usage\n");
|
||||
ft_printf("usage :\n");
|
||||
ft_printf("launch executable : ./push_swap [flag -p] nb nb nb nb nb ...\n");
|
||||
}
|
||||
|
||||
void ps_error(int err)
|
||||
@@ -12,7 +13,6 @@ void ps_error(int err)
|
||||
ps_usage();
|
||||
if (err == 2)
|
||||
ft_printf("error\n");
|
||||
exit(0);
|
||||
}
|
||||
|
||||
void ps_stop(t_stack *stack_a, t_stack *stack_b, t_list *solution, int err)
|
||||
|
||||
Reference in New Issue
Block a user