+static const struct option longopts[] = {
+ { "cpu-quota", 1, NULL, 'q' },
+ { "daemon", 0, NULL, 'd' },
+ { "nofork", 0, NULL, 'n' },
+ { "print-quota", 1, NULL, 'p' },
+ { "trace", 1, NULL, 't' },
+ { NULL, 0, NULL, 0 },
+};
+
+static void usage(void)
+{
+ fprintf(stderr, "\
+Options:\n\n\
+--daemon Run as daemon and listen for network connections\n\
+--nofork When run with --daemon, avoid forking\n\
+--trace=<level> Enable tracing of program execution\n\
+--cpu-quota=<n> Set CPU quota to <n> instructions\n\
+--print-quota=<n> Set printer quota to <n> lines\n\
+");
+ exit(1);
+}
+