6 static int usage(const char *prog)
8 fprintf(stderr, "Usage: %s [options]\n"
10 " -s <path>: Path to ubus socket\n"
11 " -d: Enable debug messages\n"
16 int main(int argc, char **argv)
20 while ((ch = getopt(argc, argv, "ds:")) != -1) {
29 return usage(argv[0]);