Additional isprint() check for Windows/Cygwin
diff --git a/cmdline.c b/cmdline.c
index e098b27..6c907f5 100644
--- a/cmdline.c
+++ b/cmdline.c
@@ -62,7 +62,7 @@
LOG_HELP_BOLD("Usage: %s [options] -- path_to_command [args]", pname);
LOG_HELP_BOLD("Options:");
for (int i = 0; opts[i].opt.name; i++) {
- if (isprint(opts[i].opt.val)) {
+ if (isprint(opts[i].opt.val) && opts[i].opt.val < 0x80) {
LOG_HELP_BOLD(" --%s%s%c %s", opts[i].opt.name,
"|-", opts[i].opt.val,
opts[i].opt.has_arg == required_argument ? "VALUE" : "");