output help on wrong flag
This commit is contained in:
parent
9ac3cd2ec9
commit
203532eff0
1 changed files with 1 additions and 1 deletions
|
@ -72,6 +72,6 @@ void ft_des_parse_args
|
||||||
parser_walker++;
|
parser_walker++;
|
||||||
}
|
}
|
||||||
if (!parser_walker->arg_parser)
|
if (!parser_walker->arg_parser)
|
||||||
ft_des_print_error("wrong argument. type -h for help.");
|
ft_des_usage();
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue