cli: loose string comparison helper