summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAndrew Harvey <andrew@alantgeo.com.au>2019-02-28 17:14:17 +1100
committerAsheem Mamoowala <asheem.mamoowala@mapbox.com>2019-06-07 10:23:06 -0700
commit1a3b865eee1d9a56f1627d346dd2a692420c1f59 (patch)
treecf0cb70f104ef7e23d56059f6e5c5d6c2ac8699b /bin
parent434b0f54eab60fc18d53e6d40acddd8c96c927c9 (diff)
downloadqtlocation-mapboxgl-1a3b865eee1d9a56f1627d346dd2a692420c1f59.tar.gz
improve offline cli help page
The GeoJSON file can't be a FeatureCollection, it must be a single Feature GeoJSON, with simple geometry
Diffstat (limited to 'bin')
-rw-r--r--bin/offline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/offline.cpp b/bin/offline.cpp
index a82e2b5aa5..fc8b0f1bd4 100644
--- a/bin/offline.cpp
+++ b/bin/offline.cpp
@@ -96,7 +96,7 @@ int main(int argc, char *argv[]) {
// Geometry
args::Group geoJSONGroup(argumentParser, "GeoJson geometry:", args::Group::Validators::AllOrNone);
- args::ValueFlag<std::string> geometryValue(geoJSONGroup, "file", "GeoJSON file containing the region geometry", {"geojson"});
+ args::ValueFlag<std::string> geometryValue(geoJSONGroup, "file", "GeoJSON Feature file containing the region geometry (can't be a FeatureCollection)", {"geojson"});
args::ValueFlag<double> minZoomValue(argumentParser, "number", "Min zoom level", {"minZoom"});
args::ValueFlag<double> maxZoomValue(argumentParser, "number", "Max zoom level", {"maxZoom"});