#pragma once #include #include #include "filter.h" struct options { size_t nfilters; struct filter_rule *filters; size_t ncachetags; char **cachetags; char *rootpath; char *treeroot; // relative within rootpath (or NULL) int print_depth; bool debug; }; struct options parse_options(int argc, char **argv);