1 | #include <base/logger.h> |
---|---|
2 | #include <base/system.h> |
3 | |
4 | int main(int argc, const char **argv) |
5 | { |
6 | CCmdlineFix CmdlineFix(&argc, &argv); |
7 | log_set_global_logger_default(); |
8 | if(argc < 1 + 2) |
9 | { |
10 | dbg_msg(sys: "usage", fmt: "%s STR1 STR2", argv[0] ? argv[0] : "unicode_confusables"); |
11 | return -1; |
12 | } |
13 | dbg_msg(sys: "conf", fmt: "not_confusable=%d", str_utf8_comp_confusable(str1: argv[1], str2: argv[2])); |
14 | return 0; |
15 | } |
16 |