rsadsb / adsb_deku

✈️ Rust ADS-B decoder + tui radar application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LAT LONG entry format

dwillmore opened this issue · comments

I can't find where the format for the latitude and longitude is specified. I tried following the --help suggestions and the errors produced, but I've gotten nowhere so far.

willmore@localhost tui]$ ./radar
error: The following required arguments were not provided:
--lat
--long

USAGE:
radar [OPTIONS] --lat --long

For more information try --help
[willmore@localhost tui]$ ./radar --lat 40.0 --long -80.0
error: Found argument '-8' which wasn't expected, or isn't valid in this context

If you tried to supply -8 as a value rather than a flag, use -- -8

USAGE:
radar [OPTIONS] --lat --long

For more information try --help
[willmore@localhost tui]$ ./radar --lat 40.0 --long -- -80.0
error: Found argument '-80.0' which wasn't expected, or isn't valid in this context

If you tried to supply -80.0 as a value rather than a flag, use -- -80.0

USAGE:
radar [OPTIONS] --lat --long

For more information try --help

How does it want 40N, 80W specified?

Probably should add "don't use back tick as a quote in error messages as it makes it really hard to include that text in a bug report". :)

Hey!

I can't find where the format for the latitude and longitude is specified. I tried following the --help suggestions and the errors produced, but I've gotten nowhere so far.

willmore@localhost tui]$ ./radar
error: The following required arguments were not provided:
--lat
--long
USAGE:
radar [OPTIONS] --lat --long
For more information try --help
[willmore@localhost tui]$ ./radar --lat 40.0 --long -80.0
error: Found argument '-8' which wasn't expected, or isn't valid in this context
If you tried to supply -8 as a value rather than a flag, use -- -8
USAGE:
radar [OPTIONS] --lat --long
For more information try --help
[willmore@localhost tui]$ ./radar --lat 40.0 --long -- -80.0
error: Found argument '-80.0' which wasn't expected, or isn't valid in this context
If you tried to supply -80.0 as a value rather than a flag, use -- -80.0
USAGE:
radar [OPTIONS] --lat --long
For more information try --help

How does it want 40N, 80W specified?

In the README.md, I have it described as --lat="50.0" --long="50.0".

facepalm Yes, the = really makes all the difference. Pilot error again.