Changeset 18366 in josm for trunk/src/org/openstreetmap/josm/data/projection/ProjectionCLI.java
- Timestamp:
- 2022-01-26T20:13:22+01:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/ProjectionCLI.java
r16643 r18366 20 20 import org.openstreetmap.josm.data.coor.LatLon; 21 21 import org.openstreetmap.josm.data.coor.conversion.LatLonParser; 22 import org.openstreetmap.josm.spi.lifecycle.Lifecycle; 22 23 import org.openstreetmap.josm.tools.OptionParser; 23 24 … … 76 77 } catch (ProjectionConfigurationException | IllegalArgumentException | IOException ex) { 77 78 System.err.println(tr("Error: {0}", ex.getMessage())); 78 System.exit(1);79 Lifecycle.exitJosm(true, 1); 79 80 } 80 System.exit(0);81 Lifecycle.exitJosm(true, 0); 81 82 } 82 83 … … 86 87 private static void showHelp() { 87 88 System.out.println(getHelp()); 88 System.exit(0);89 Lifecycle.exitJosm(true, 0); 89 90 } 90 91
Note:
See TracChangeset
for help on using the changeset viewer.