Update help and default duration
parent
a89ae834be
commit
526b390abc
16
main.c
16
main.c
|
@ -342,13 +342,13 @@ static int display_dispatch_with_timeout(struct wl_display *display, int timeout
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char usage[] = "usage: %s [options]\n"
|
static const char usage[] = "usage: %s [options]\n"
|
||||||
" -h show this help message\n"
|
" -h show this help message\n"
|
||||||
" -T <value> set high temperature (default: 6500)\n"
|
" -T <temp> set high temperature (default: 6500)\n"
|
||||||
" -t <value> set low temperature (default: 4000)\n"
|
" -t <temp> set low temperature (default: 4000)\n"
|
||||||
" -l <value> set latitude\n"
|
" -l <lat> set latitude (e.g. 39.913)\n"
|
||||||
" -L <value> set longitude\n"
|
" -L <long> set longitude (e.g. 116.363)\n"
|
||||||
" -d <value> set ramping duration in minutes (default: 30)\n"
|
" -d <minutes> set ramping duration in minutes (default: 60)\n"
|
||||||
" -g <value> set gamma (default: 1)\n";
|
" -g <gamma> set gamma (default: 1.0)\n";
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
|
@ -359,7 +359,7 @@ int main(int argc, char *argv[]) {
|
||||||
.gamma = 1.0,
|
.gamma = 1.0,
|
||||||
.high_temp = 6500,
|
.high_temp = 6500,
|
||||||
.low_temp = 4000,
|
.low_temp = 4000,
|
||||||
.duration = 30 * 60,
|
.duration = 3600,
|
||||||
.state = HIGH_TEMP,
|
.state = HIGH_TEMP,
|
||||||
};
|
};
|
||||||
wl_list_init(&ctx.outputs);
|
wl_list_init(&ctx.outputs);
|
||||||
|
|
Loading…
Reference in New Issue