Changes
1 changed files (+13/-5)
-
-
@@ -62,10 +62,10 @@ printf ("Sunwait for Windows. Version %f (IFC).\n", VERSION);printf ("Code Contributors: P.Schlyter, D.Risacher, D.MacMillan and I.Craig.\n"); printf ("\n"); printf (" Sunset is the instant at which the upper edge of the Sun disappears below the horizon.\n"); printf (" Civil twilight is the period from sunset until the geometric centre of the sun is 6° below the horizon.\n"); printf (" Nautical twilight is the period when the geometric centre of the sun is between 6° and 12° below the horizon.\n"); printf (" Astronomical twilight is the period when the geometric centre of the sun is between 12° and 18° below the horizon.\n"); printf (" Night is period when the geometric center of the sun falls 18° below the horizon.\n"); printf (" Civil twilight is the period from sunset until the geometric centre of the sun is 6° below the horizon.\n"); printf (" Nautical twilight is the period when the geometric centre of the sun is between 6° and 12° below the horizon.\n"); printf (" Astronomical twilight is the period when the geometric centre of the sun is between 12° and 18° below the horizon.\n"); printf (" Night is period when the geometric center of the sun falls 18° below the horizon.\n"); }
-
@@ -666,13 +666,18 @@ if (arg[0] == '-' && arg[1] != '\0' && !isdigit(arg[1])) *arg++;// Normal help or version info if (!strcmp (arg, "v") || !strcmp (arg, "-V") || !strcmp (arg, "-v") || !strcmp (arg, "--version") || !strcmp (arg, "version")) pRun->functionVersion = ONOFF_ON; else if (!strcmp (arg, "nv") || !strcmp (arg, "noversion")) pRun->functionVersion = ONOFF_OFF; else if (!strcmp (arg, "?") || !strcmp (arg, "usage") || !strcmp (arg, "--help") || !strcmp (arg, "h") || !strcmp (arg, "-help") || !strcmp (arg, "help")) pRun->functionUsage = ONOFF_ON; else if (!strcmp (arg, "nh" ) || !strcmp (arg, "nousage") ||
-
@@ -699,7 +704,10 @@ else if (!strcmp (arg, "nogmt") ||!strcmp (arg, "noutc")) pRun->utc = ONOFF_OFF; // Debug mode else if (!strcmp (arg, "debug")) pRun->debug = ONOFF_ON; else if (!strcmp (arg, "debug")) || !strcmp (arg, "--debug")) || !strcmp (arg, "--verbose")) || !strcmp (arg, "-v")) pRun->debug = ONOFF_ON; else if (!strcmp (arg, "nodebug")) pRun->debug = ONOFF_OFF; // Poll. Is it DAY or NIGHT?
-