|
@@ -52,7 +52,7 @@ int main(int argc, char *argv[]) {
|
|
|
"Build number %d\n", buildno);
|
|
|
|
|
|
// Argument handling
|
|
|
- while (prev_ind = optind, (opt = getopt(argc, argv, "vVdp")) != -1) {
|
|
|
+ while (prev_ind = optind, (opt = getopt(argc, argv, "?hvVdp")) != -1) {
|
|
|
if (argc > 3)
|
|
|
if (optind == prev_ind + 2 && *optarg == '-') {
|
|
|
opt = '?';
|
|
@@ -79,6 +79,7 @@ int main(int argc, char *argv[]) {
|
|
|
printf("\t-h\t\tPrints this help\n");
|
|
|
printf("\t-v\t\tSets verbose output, can be used multiple times\n");
|
|
|
printf("\t-V\t\tPrints only the version and exits\n");
|
|
|
+ printf("\t-d\t\tPrints a timestamp before every line\n");
|
|
|
printf("\t-p\t\tPowers the machine on program start\n");
|
|
|
|
|
|
printf("Listening to the following signals:\n");
|