1
0
Fork 0
mirror of https://github.com/Luzifer/gpxhydrant.git synced 2024-12-23 04:31:18 +00:00

Made NoOp no longer the default

This commit is contained in:
Knut Ahlers 2016-05-07 16:32:05 +02:00
parent 6acc30b546
commit ca34cdfe3c
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -19,7 +19,7 @@ var (
Debug bool `flag:"debug,d" default:"false" description:"Enable debug logging"` Debug bool `flag:"debug,d" default:"false" description:"Enable debug logging"`
GPXFile string `flag:"gpx-file,f" description:"File containing GPX waypoints"` GPXFile string `flag:"gpx-file,f" description:"File containing GPX waypoints"`
MachRange int64 `flag:"match-range" default:"20" description:"Range of meters to match GPX hydrants to OSM nodes"` MachRange int64 `flag:"match-range" default:"20" description:"Range of meters to match GPX hydrants to OSM nodes"`
NoOp bool `flag:"noop,n" default:"true" description:"Fetch data from OSM but do not write"` NoOp bool `flag:"noop,n" default:"false" description:"Fetch data from OSM but do not write"`
OSM struct { OSM struct {
Username string `flag:"osm-user" description:"Username to log into OSM"` Username string `flag:"osm-user" description:"Username to log into OSM"`
Password string `flag:"osm-pass" description:"Password for osm-user"` Password string `flag:"osm-pass" description:"Password for osm-user"`