aboutsummaryrefslogtreecommitdiffstats
path: root/src/redshift.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/redshift.c')
-rw-r--r--src/redshift.c7
1 files changed, 6 insertions, 1 deletions
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);