1
0
mirror of https://github.com/UzixLS/picocom.git synced 2025-07-19 07:21:18 +03:00

Show initstring length

This commit is contained in:
Nick Patavalis
2017-12-16 22:29:56 +02:00
parent cea5f644c7
commit 9fbf4d1c11

View File

@ -1686,6 +1686,11 @@ parse_args(int argc, char *argv[])
printf("omap is : "); print_map(opts.omap);
printf("emap is : "); print_map(opts.emap);
printf("logfile is : %s\n", opts.log_filename ? opts.log_filename : "none");
if ( opts.initstring ) {
printf("initstring len : %ld bytes\n", strlen(opts.initstring));
} else {
printf("initstring : none\n");
}
if (opts.exit_after < 0) {
printf("exit_after is : not set\n");
} else {