argument parsing library treats arguments with similar prefix the same way
foxpy opened this issue · comments
Imagine code like this:
qc_args_unsigned(args, "pref", &num, NULL);
This way, all arguments like --prefix=5
, --pref=3
, --preffffffffff=4
and so on match, leading to surprising bugs.