diff --git a/README.md b/README.md index 1bb08f3..448239d 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,10 @@ sudo ninja -C build install See the helptext (`wlsunset -h`) ## Example + ``` -wlsunset -l 39.913818 -L 116.363625 +# Beijing lat/long. +wlsunset -l 39.9 -L 116.3 ``` + +Greater precision than one decimal place serves no purpose other than padding the command-line (https://xkcd.com/2170/). diff --git a/main.c b/main.c index 34adbe2..ef01c7a 100644 --- a/main.c +++ b/main.c @@ -348,8 +348,8 @@ static const char usage[] = "usage: %s [options]\n" " -h show this help message\n" " -T set high temperature (default: 6500)\n" " -t set low temperature (default: 4000)\n" -" -l set latitude (e.g. 39.913)\n" -" -L set longitude (e.g. 116.363)\n" +" -l set latitude (e.g. 39.9)\n" +" -L set longitude (e.g. 116.3)\n" " -d set ramping duration in minutes (default: 60)\n" " -g set gamma (default: 1.0)\n";