From 802d09e83bb6ffa0a70b702f59069435d6feb8c6 Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Tue, 18 Oct 2011 18:02:28 +0200 Subject: Add various documentation updates: DESIGN and HACKING document, and various small comments int the source (Christian Jaeger). Update man page with information on configuration file. --- src/redshift.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/redshift.c') diff --git a/src/redshift.c b/src/redshift.c index 08f3e1d..9cd1e36 100644 --- a/src/redshift.c +++ b/src/redshift.c @@ -930,6 +930,9 @@ main(int argc, char *argv[]) location_providers[i].name != NULL; i++) { const location_provider_t *p = &location_providers[i]; + fprintf(stderr, + _("Trying location provider `%s'...\n"), + p->name); r = provider_try_start(p, &location_state, &config_state, NULL); if (r < 0) { @@ -966,6 +969,8 @@ main(int argc, char *argv[]) if (verbose) { /* TRANSLATORS: Append degree symbols if possible. */ printf(_("Location: %f, %f\n"), lat, lon); + printf(_("Temperatures: %dK at day, %dK at night\n"), + temp_day, temp_night); } /* Latitude */ @@ -1314,7 +1319,7 @@ main(int argc, char *argv[]) } } - /* Sleep for a while */ + /* Sleep for 5 seconds or 0.1 second. */ #ifndef _WIN32 if (short_trans) usleep(100000); else usleep(5000000); -- cgit v1.2.3-70-g09d2