Fix spelling error in rotctl.c help and add offset settings to rotctl.1

pull/1250/head
Mike Black W9MDB 2023-03-16 16:41:35 -05:00
rodzic 24a4a09484
commit 57b7cd1860
2 zmienionych plików z 13 dodań i 2 usunięć

Wyświetl plik

@ -23,6 +23,8 @@ rotctl \- control antenna rotators
.OP \-s baud .OP \-s baud
.OP \-t char .OP \-t char
.OP \-C parm=val .OP \-C parm=val
.OP \-o azoffset
.OP \-O eloffset
.RB [ \-v [ \-Z ]] .RB [ \-v [ \-Z ]]
.RB [ command | \- ] .RB [ command | \- ]
.YS .YS
@ -131,6 +133,15 @@ The semicolon (\(oq;\(cq) is a common terminator for rotators that accept
ASCII character strings. ASCII character strings.
. .
.TP .TP
.BR \-o ", " \-\-set\-azoffset
Azimuth correction floating point -- during set value is added, during get value is subtracted.
.
.TP
.BR \-O ", " \-\-set\-eloffset
Elevation correction floating point -- during set value is added, during get value is subtracted.
.
.
.TP
.BR \-L ", " \-\-show\-conf .BR \-L ", " \-\-show\-conf
List all configuration parameters for the rotator defined with List all configuration parameters for the rotator defined with
.B \-m .B \-m

Wyświetl plik

@ -509,8 +509,8 @@ void usage()
" -s, --serial-speed=BAUD set serial speed of the serial port\n" " -s, --serial-speed=BAUD set serial speed of the serial port\n"
" -t, --send-cmd-term=CHAR set send_cmd command termination char\n" " -t, --send-cmd-term=CHAR set send_cmd command termination char\n"
" -C, --set-conf=PARM=VAL set config parameters\n" " -C, --set-conf=PARM=VAL set config parameters\n"
" -o, --set-azoffset==VAL set offset for azimuth\n" " -o, --set-azoffset=VAL set offset for azimuth\n"
" -O, --set-eloffset==VAL set offset for elevation\n" " -O, --set-eloffset=VAL set offset for elevation\n"
" -L, --show-conf list all config parameters\n" " -L, --show-conf list all config parameters\n"
" -l, --list list all model numbers and exit\n" " -l, --list list all model numbers and exit\n"
" -u, --dump-caps dump capabilities and exit\n" " -u, --dump-caps dump capabilities and exit\n"