From: git Date: Mon, 16 Feb 2026 14:48:02 +0000 (-0500) Subject: further fixes with markdown and flag names X-Git-Url: https://git.datadissipation.net/?a=commitdiff_plain;h=c80cbf6002d41c8333713df666042e3454d3aa8f;p=ust.git further fixes with markdown and flag names --- diff --git a/README.md b/README.md index c429905..d301e44 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,9 @@ All flags can have their default values set by modifying `config.h`, additional * `--translation|-t option` - CR and LF translation for data sent * `--input-translation|-T option` - CR and LF translation for data read + ### Options: + * `cr-to-lf` * `cr-in-lf` - CR to CRLF * `no-cr` diff --git a/ust.c b/ust.c index 68ca64c..f0c630d 100644 --- a/ust.c +++ b/ust.c @@ -88,8 +88,8 @@ main(int argc, char **argv) {"canonical", no_argument, NULL, 'c'}, {"odd", no_argument, NULL, 'o'}, {"even", no_argument, NULL, 'e'}, - {"hardware-rtscts", no_argument, NULL, 'R'}, - {"hardware-dsrdtr", no_argument, NULL, 'r'}, + {"hardware-rts-cts", no_argument, NULL, 'R'}, + {"hardware-dtr-dsr", no_argument, NULL, 'r'}, {"software", no_argument, NULL, 'X'}, {"data", required_argument, NULL, 'D'}, {"delay", required_argument, NULL, 'd'}, @@ -195,8 +195,8 @@ main(int argc, char **argv) die(2, "usage: %s [--line|-l line] [--speed|-s #|-#] [--rx-speed|-i #]\n" " [--data-bits|-D #] [--stop-bits|-S]" " [--even|-e] [--odd|-o]\n" - " [--hardware-rtscts|-R]" - " [--hardware-dsrdtr|-r] [--software|-X]\n" + " [--hardware-rts-cts|-R]" + " [--hardware-dtr-dsr|-r] [--software|-X]\n" " [--delay|-d #] [--min-chars|-m #]" " [--canonical|-c] [--echo|-h]\n" " [--translation|-t tropt]"