Remove manual duration for now

master
Kenny Levinsen 2020-10-19 00:37:47 +02:00
parent 5c497febb7
commit 1da4343e31
1 changed files with 0 additions and 6 deletions

6
main.c
View File

@ -664,7 +664,6 @@ static const char usage[] = "usage: %s [options]\n"
" -L <long> set longitude (e.g. 116.3)\n"
" -s <start> set manual start time (e.g. 06:30)\n"
" -S <stop> set manual stop time (e.g. 19:30)\n"
" -d <minutes> set manual ramping duration in minutes (default: 60)\n"
" -g <gamma> set gamma (default: 1.0)\n";
int main(int argc, char *argv[]) {
@ -678,7 +677,6 @@ int main(int argc, char *argv[]) {
.high_temp = 6500,
.low_temp = 4000,
.gamma = 1.0,
.duration = -1,
};
int opt;
@ -696,10 +694,6 @@ int main(int argc, char *argv[]) {
case 'L':
config.longitude = strtod(optarg, NULL);
break;
case 'd':
fprintf(stderr, "using animation duration override\n");
config.duration = strtod(optarg, NULL) * 60;
break;
case 'g':
config.gamma = strtod(optarg, NULL);
break;