Ticket #4312: josm-usage.diff

File josm-usage.diff, 2.7 KB (added by bomm, 16 years ago)

patch

  • src/org/openstreetmap/josm/gui/MainApplication.java

    diff --git a/src/org/openstreetmap/josm/gui/MainApplication.java b/src/org/openstreetmap/josm/gui/MainApplication.java
    index 42602e9..e232296 100644
    a b public class MainApplication extends Main {  
    7575                "\t--geometry=widthxheight(+|-)x(+|-)y       "+tr("Standard unix geometry argument")+"\n"+
    7676                "\t[--download=]minlat,minlon,maxlat,maxlon  "+tr("Download the bounding box")+"\n"+
    7777                "\t[--download=]<url>                        "+tr("Download the location at the url (with lat=x&lon=y&zoom=z)")+"\n"+
    78                 "\t[--download=]<filename>                   "+tr("Open file (as raw gps, if .gpx)")+"\n"+
     78                "\t[--download=]<filename>                   "+tr("Open a file (any file type that can be opened with File/Open)")+"\n"+
    7979                "\t--downloadgps=minlat,minlon,maxlat,maxlon "+tr("Download the bounding box as raw gps")+"\n"+
    8080                "\t--selection=<searchstring>                "+tr("Select with the given search")+"\n"+
    8181                "\t--[no-]maximize                           "+tr("Launch in maximized mode")+"\n"+
    8282                "\t--reset-preferences                       "+tr("Reset the preferences to default")+"\n\n"+
    83                 "\t--language=<language>                     "+tr("Set the language.")+"\n\n"+
     83                "\t--language=<language>                     "+tr("Set the language")+"\n\n"+
    8484                tr("options provided as Java system properties")+":\n"+
    8585                "\t-Djosm.home="+tr("/PATH/TO/JOSM/FOLDER/         ")+tr("Change the folder for all user settings")+"\n\n"+
    8686                tr("note: For some tasks, JOSM needs a lot of memory. It can be necessary to add the following\n" +
    87                 "      Java option to increase the maximum size of allocated memory")+":\n"+
     87                "      Java option to specify the maximum size of allocated memory in megabytes")+":\n"+
    8888                "\t-Xmx...m\n\n"+
    8989                tr("examples")+":\n"+
    9090                "\tjava -jar josm.jar track1.gpx track2.gpx london.osm\n"+
    public class MainApplication extends Main {  
    9494                "\tjava -Djosm.home=/home/user/.josm_dev -jar josm.jar\n"+
    9595                "\tjava -Xmx400m -jar josm.jar\n\n"+
    9696                tr("Parameters are read in the order they are specified, so make sure you load\n"+
    97                 "some data before --selection")+"\n\n"+
    98                 tr("Instead of --download=<bbox> you may specify osm://<bbox>\n"));
     97                "some data before --selection")+"\n");
    9998    }
    10099
    101100    /**