Closed CloudNiner closed 4 years ago
@CloudNiner should be fixed, can you confirm by pulling master? also cleaned up some of the help output logic
Works great, nice fix there adding the fallback to print the help if an invalid query command is provided 🎉
If I run
I get a segfault attempting to read
argv[3]
: https://github.com/protomaps/OSMExpress/blob/master/src/cmd.cpp#L48The docs indicate that calling the query in this form should be possible: https://github.com/protomaps/OSMExpress#command-line
As a temporary workaround, providing some random third arg so that the code falls back into the else case works: