You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace the current command line option parsing with getopt and provide long names for options. A review of all command line options should be conducted as part of this work.
It should be possible to specify options both as command line options and config file options. Coordinate work on this with #1.
The text was updated successfully, but these errors were encountered:
Trying to get some overview over the command line arguments as an excuse for doing actual work.
Features removed in libpredictbranch:
-f (quickfind)
-p (quickpredict)
-s (enable socket operation)
-n (socket port)
-o (enable file output)
Features removed for now, but will probably reenable:
Old argument
New argument
-north
--latitude north/south
-south
-west
--longitude east/west
-east
Kept features:
Old argument (try to keep as short option)
New argument
Comment
-u (updatefile)
--update-tle-db file
-t (tle-file)
--tle-file file
Union of this and the rest of the TLE-files, or override completely? (Additional option?)
-q (qth-file)
--qth-file file
-a (rotctl_host)
--rotctl host
Let 'host' be optional argument, default to localhost?
-a1 (rotctl_host)
--rotctl-update-interval update interval
This was a "once per second"-option, but there is a TODO in SingleTrack about enabling also other update intervals.
-ap (rotctl_port)
--rotctl-port port
-h (horizon)
--horizon horizon
-U (uplink host)
--uplink host
-UP (uplink port)
--uplink-port port
-UV (uplink VFO)
--uplink-vfo vfo
-D (downlink host)
--downlink host
-DP (downlink port)
--downlink-port port
-DV (downlink VFO)
--downlink-vfo vfo
getopt_long doesn't support multiple arguments to each option. Should find a way to enable multiple files for tle-update and for supplying additional tle files (probably by doing e.g. --tle-file file1 --tle-file file2).
Not sure whether option --rotctl explains itself enough, and whether uplink and downlink should be rigctl-uplink/-downlink for consistency's sake. --enable-rotctl? --enable-rigctl-downlink?
Replace the current command line option parsing with getopt and provide long names for options. A review of all command line options should be conducted as part of this work.
It should be possible to specify options both as command line options and config file options. Coordinate work on this with #1.
The text was updated successfully, but these errors were encountered: