mtseeder: rename command line option "worker" to "workers" in symmetry to mtwebmapper.

This commit is contained in:
Sascha L. Teichmann 2014-09-27 13:23:34 +02:00
parent a9e682889c
commit dd3fecca3a

View File

@ -33,7 +33,7 @@ func main() {
flag.StringVar(&colorsFile, "colors", "colors.txt", "definition of colors") flag.StringVar(&colorsFile, "colors", "colors.txt", "definition of colors")
flag.StringVar(&outDir, "output-dir", "map", "directory with the resulting image tree") flag.StringVar(&outDir, "output-dir", "map", "directory with the resulting image tree")
flag.StringVar(&outDir, "o", "map", "directory with the resulting image tree") flag.StringVar(&outDir, "o", "map", "directory with the resulting image tree")
flag.IntVar(&numWorkers, "worker", 1, "number of workers") flag.IntVar(&numWorkers, "workers", 1, "number of workers")
flag.IntVar(&numWorkers, "w", 1, "number of workers (shorthand)") flag.IntVar(&numWorkers, "w", 1, "number of workers (shorthand)")
flag.BoolVar(&skipBaseLevel, "skip-base-level", false, "Do not generate base level tiles") flag.BoolVar(&skipBaseLevel, "skip-base-level", false, "Do not generate base level tiles")
flag.BoolVar(&skipBaseLevel, "sb", false, "Do not generate base level tiles (shorthand)") flag.BoolVar(&skipBaseLevel, "sb", false, "Do not generate base level tiles (shorthand)")