Changeset 12892 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-09-24T09:25:26+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/ProjectionCLI.java
r12846 r12892 19 19 import org.openstreetmap.josm.data.coor.LatLon; 20 20 import org.openstreetmap.josm.data.coor.conversion.LatLonParser; 21 import org.openstreetmap.josm.tools.I18n; 21 22 import org.openstreetmap.josm.tools.Utils; 22 23 … … 43 44 @Override 44 45 public void processArguments(String[] argArray) { 46 Getopt.setI18nHandler(I18n::tr); 45 47 Getopt getopt = new Getopt("JOSM projection", argArray, "Irh", new LongOpt[] { 46 48 new LongOpt("help", LongOpt.NO_ARGUMENT, null, 'h')}); -
trunk/src/org/openstreetmap/josm/gui/ProgramArguments.java
r12792 r12892 14 14 import java.util.stream.Stream; 15 15 16 import org.openstreetmap.josm.tools.I18n; 16 17 import org.openstreetmap.josm.tools.Logging; 17 18 … … 115 116 LongOpt[] los = Stream.of(Option.values()).map(Option::toLongOpt).toArray(LongOpt[]::new); 116 117 118 Getopt.setI18nHandler(I18n::tr); 117 119 Getopt g = new Getopt("JOSM", args, "hv", los); 118 120
Note:
See TracChangeset
for help on using the changeset viewer.