From: Keith Packard Date: Tue, 19 May 2015 17:12:52 +0000 (-0700) Subject: altosui: Remove un-implemented --fetchmaps argument X-Git-Tag: 1.6.0.3~87 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=2b57158737f85c7009658b3e923c66794f01bbdf altosui: Remove un-implemented --fetchmaps argument This has been stubbed out for a while, so just remove it. Signed-off-by: Keith Packard --- diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java index 0af09651..5dd532bd 100644 --- a/altosui/AltosUI.java +++ b/altosui/AltosUI.java @@ -587,16 +587,7 @@ public class AltosUI extends AltosUIFrame { for (int i = 0; i < args.length; i++) { if (args[i].equals("--help")) help(0); - else if (args[i].equals("--fetchmaps")) { - if (args.length < i + 3) { - help(1); - } else { - double lat = Double.parseDouble(args[i+1]); - double lon = Double.parseDouble(args[i+2]); -// AltosSiteMap.prefetchMaps(lat, lon); - i += 2; - } - } else if (args[i].equals("--replay")) + else if (args[i].equals("--replay")) process = process_replay; else if (args[i].equals("--kml")) process = process_kml;