File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -1072,7 +1072,24 @@ show_usage(char *name)
10721072 s = s ? s + 1 : name ;
10731073
10741074 printf ("picocom v%s\n" , VERSION_STR );
1075- printf ("Usage is: %s [options] <tty device>\n" , s );
1075+
1076+ printf ("\nCompiled-in options:\n" );
1077+ printf (" TTY_Q_SZ is %d\n" , TTY_Q_SZ );
1078+ #ifdef USE_HIGH_BAUD
1079+ printf (" HIGH_BAUD is enabled\n" );
1080+ #endif
1081+ #ifdef USE_FLOCK
1082+ printf (" USE_FLOCK is enabled\n" );
1083+ #endif
1084+ #ifdef UUCP_LOCK_DIR
1085+ printf (" UUCP_LOCK_DIR is: %s\n" , UUCP_LOCK_DIR );
1086+ #endif
1087+ #ifdef LINENOISE
1088+ printf (" LINENOISE is enabled\n" );
1089+ printf (" SEND_RECEIVE_HISTFILE is: %s\n" , SEND_RECEIVE_HISTFILE );
1090+ #endif
1091+
1092+ printf ("\nUsage is: %s [options] <tty device>\n" , s );
10761093 printf ("Options are:\n" );
10771094 printf (" --<b>aud <baudrate>\n" );
10781095 printf (" --<f>low s (=soft) | h (=hard) | n (=none)\n" );
You can’t perform that action at this time.
0 commit comments