From 3d7b4bbb3362533f1506b0948364b35eeb1b305b Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Thu, 6 Oct 2022 15:56:38 +0100 Subject: add explanation and copyright notice in the source file --- gridcal.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'gridcal.c') diff --git a/gridcal.c b/gridcal.c index 6e552b4..173f30c 100644 --- a/gridcal.c +++ b/gridcal.c @@ -3,9 +3,23 @@ * Get two grid locators and compute the great-circle distance * between the centers of the two corresponding squares * +* (c) Enzo "KatolaZ" Nicosia -- M0KTZ * -* Usage: gridcal [ []] +* Usage: gridcal [ []] * +* If only one locator is provided, the program prints on output the +* latitude and longitude of the centre of the corresponding square, +* both in degrees and radians. +* +* If two locators are given, gridcal computes and prints the great-circle +* distance between the two locators, in km and miles. If a third argument +* is provided, it is interpreted as a power in Watts, and gridcal will +* print the distance in km and miles between the two locators, then the +* power, and then the km/watt and the miles/watt +* +* This is free software. You can use, modify, distribute it under the +* terms of the ISC License. See LICENSE for details +* */ #include -- cgit v1.2.3