Reduce precision in lat/long examples
parent
235887e6e9
commit
e2921c8efb
|
@ -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/).
|
||||
|
|
4
main.c
4
main.c
|
@ -348,8 +348,8 @@ static const char usage[] = "usage: %s [options]\n"
|
|||
" -h show this help message\n"
|
||||
" -T <temp> set high temperature (default: 6500)\n"
|
||||
" -t <temp> set low temperature (default: 4000)\n"
|
||||
" -l <lat> set latitude (e.g. 39.913)\n"
|
||||
" -L <long> set longitude (e.g. 116.363)\n"
|
||||
" -l <lat> set latitude (e.g. 39.9)\n"
|
||||
" -L <long> set longitude (e.g. 116.3)\n"
|
||||
" -d <minutes> set ramping duration in minutes (default: 60)\n"
|
||||
" -g <gamma> set gamma (default: 1.0)\n";
|
||||
|
||||
|
|
Loading…
Reference in New Issue