1
2
3
4
5
6
7
8
9
10
11
/* Take the census. With a date, YYYY-MM-DD, take it on that day instead. */
#include <stdio.h>
#include "census.h"
int main(int argc, char **argv)
{
take_census(stdout, argc > 1 ? parse_day(argv[1]) : census_day());
return 0;
}