output help on wrong flag

This commit is contained in:
Gregory 2019-04-10 15:49:11 +03:00
parent 9ac3cd2ec9
commit 203532eff0

View file

@ -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();
} }
} }