finish the parsing solve the problem with 2 arg

This commit is contained in:
Maoake Teriierooiterai
2026-01-08 19:02:13 +01:00
parent 00e01ed1f9
commit 0df082065e
4 changed files with 18 additions and 3 deletions

View File

@@ -25,6 +25,8 @@ int test1(int argc, char **argv)
piles = NULL;
mod = calcul_mod(argc, argv);
piles = init_piles(argc, argv, mod);
if (check_order(piles->a))
return (0);
flags(pos_flag(argv, mod), pos_bench(argv, mod), argv, piles);
if (piles->bench == 1)
print_bench(piles);