Added Windows COM port to help

This commit is contained in:
microbuilder committed 2016-12-15 00:43:41 +01:00
1 parent ec24a0c9d6
commit c4e17b86d8
1 file changed
+4
+4
View File
@@ -85,7 +85,11 @@ bootutil_help(int rc)
printf(" -r : perform a system reset (toggle DTR)\n");
printf(" -? : show help\n");
printf("\n");
#ifdef _WIN32
printf("Ex: $ %s -d COM14 -r\n", progname);
#else
printf("Ex: $ %s -d /dev/tty.SLAB_USBtoUART -r\n", progname);
#endif
exit(rc);
}