         print("     %%v_accuracy  Vertical accuracy (meters)")
         print("     %%time        Time")
         print("     %%address     Reverse geocoded location to an address")
-        print("  -json            Use the format {\"latitude\":%latitude, \"longitude\":%longitude}")
+        print("  -json            Prints a JSON object with all information available")
         print("                   Also implies -once")
         print("")
         print("  Default format if unspecified is: %%latitude %%longitude")

        }
    case "-json":
        delegate.once = true
        delegate.format = "{\"latitude\":%latitude, \"longitude\":%longitude}"
    default:
        break
    }

        var output = self.format
        output = output.replacingOccurrences(of: "%latitude", with: String(format: "%0.6f", location.coordinate.latitude))
        output = output.replacingOccurrences(of: "%longitude", with: String(format: "%0.6f", location.coordinate.longitude))
        output = output.replacingOccurrences(of: "%altitude", with: String(format: "%0.2f", location.altitude))
        output = output.replacingOccurrences(of: "%direction", with: "\(location.course)")
        output = output.replacingOccurrences(of: "%speed", with: "\(Int(location.speed))")
        output = output.replacingOccurrences(of: "%h_accuracy", with: "\(Int(location.horizontalAccuracy))")
