diff --git a/README b/README index 5e8f975..40a861a 100644 --- a/README +++ b/README @@ -22,7 +22,7 @@ Usage: gotty [] Options: - -b, --baudrate Baud rate (default: 115200) + -b, --baudrate Baud rate (default: 115200) -d, --databits 5|6|7|8 Data bits (default: 8) -f, --flow hard|soft|none Flow control (default: none) -s, --stopbits 1|2 Stop bits (default: 1) diff --git a/man/gotty.1 b/man/gotty.1 index fb33cd7..8f3cf70 100644 --- a/man/gotty.1 +++ b/man/gotty.1 @@ -19,9 +19,9 @@ interface to easily connect to TTY devices for basic input/output. .SH "OPTIONS" .TP -.B \-b, \--baudrate +.B \-b, \--baudrate -Set baud rate (default: 115200). +Set baud rate [bps] (default: 115200). .TP .B \-d, \--databits 5|6|7|8 diff --git a/src/options.c b/src/options.c index cbc10de..ce71455 100644 --- a/src/options.c +++ b/src/options.c @@ -42,7 +42,7 @@ void print_options_help(char *argv[]) printf("Usage: %s [] \n", argv[0]); printf("\n"); printf("Options:\n"); - printf(" -b, --baudrate Baud rate (default: 115200)\n"); + printf(" -b, --baudrate Baud rate (default: 115200)\n"); printf(" -d, --databits 5|6|7|8 Data bits (default: 8)\n"); printf(" -f, --flow hard|soft|none Flow control (default: none)\n"); printf(" -s, --stopbits 1|2 Stop bits (default: 1)\n");