2022-04-22 23:04:48 +00:00
|
|
|
#include <base/logger.h>
|
2016-10-30 11:25:49 +00:00
|
|
|
#include <base/system.h>
|
|
|
|
|
2022-02-16 19:54:11 +00:00
|
|
|
int main(int argc, const char **argv)
|
2016-10-30 11:25:49 +00:00
|
|
|
{
|
2022-06-13 16:07:29 +00:00
|
|
|
CCmdlineFix CmdlineFix(&argc, &argv);
|
2022-04-22 23:04:48 +00:00
|
|
|
log_set_global_logger_default();
|
2016-10-30 11:25:49 +00:00
|
|
|
if(argc < 1 + 2)
|
|
|
|
{
|
2019-01-07 22:49:20 +00:00
|
|
|
dbg_msg("usage", "%s STR1 STR2", argv[0] ? argv[0] : "unicode_confusables");
|
2016-10-30 11:25:49 +00:00
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
dbg_msg("conf", "not_confusable=%d", str_utf8_comp_confusable(argv[1], argv[2]));
|
|
|
|
return 0;
|
|
|
|
}
|