- fprintf(stderr, "\t-D\tdebug mode\n");
- fprintf(stderr, "\t-d\tdaemon mode\n");
- fprintf(stderr, "\t-h\tthis help\n");
- fprintf(stderr, "\t-i\tinteractive mode (connect HM-CFG-USB to terminal)\n");
- fprintf(stderr, "\t-l ip\tlisten on given IP address only (for example 127.0.0.1)\n");
- fprintf(stderr, "\t-P\tcreate PID file " PID_FILE " in daemon mode\n");
- fprintf(stderr, "\t-p n\tlisten on port n (default 1000)\n");
- fprintf(stderr, "\t-v\tverbose mode\n");
+ fprintf(stderr, "\t-D\t\tdebug mode\n");
+ fprintf(stderr, "\t-d\t\tdaemon mode\n");
+ fprintf(stderr, "\t-h\t\tthis help\n");
+ fprintf(stderr, "\t-i\t\tinteractive mode (connect HM-CFG-USB to terminal)\n");
+ fprintf(stderr, "\t-l ip\t\tlisten on given IP address only (for example 127.0.0.1)\n");
+ fprintf(stderr, "\t-L logfile\tlog network-communication to logfile\n");
+ fprintf(stderr, "\t-P\t\tcreate PID file " PID_FILE " in daemon mode\n");
+ fprintf(stderr, "\t-p n\t\tlisten on port n (default: 1000)\n");
+ fprintf(stderr, "\t-r n\t\treboot HM-CFG-USB after n seconds (0: no reboot, default: %u if FW < 0.967, 0 otherwise)\n", DEFAULT_REBOOT_SECONDS);
+ fprintf(stderr, "\t hh:mm\treboot HM-CFG-USB daily at hh:mm\n");
+ fprintf(stderr, "\t-v\t\tverbose mode\n");
+ fprintf(stderr, "\t-V\t\tshow version (" VERSION ")\n");