]> git.pond.sub.org Git - empserver/blobdiff - src/util/empsched.c
Update copyright notice
[empserver] / src / util / empsched.c
index 4907bd6a1a65ee0d528585a20ff2b5db48ef2032..6fd252db76bc6a46b82664471c6acce3da0505c7 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2007, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2010, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
  *  ---
  *
  *  empsched.c: Show the update schedule
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2007
  */
 
 #include <config.h>
 
-#if defined(_WIN32)
-#include <getopt.h>
-#else
 #include <unistd.h>
-#endif
 #include <stdio.h>
 #include <time.h>
 #include "optlist.h"
@@ -91,7 +87,7 @@ main(int argc, char *argv[])
            printf("%s\n\n%s", version, legal);
            exit(0);
        default:
-           print_usage(argv[0]);
+           fprintf(stderr, "Try -h for help.\n");
            exit(1);
        }
     }