Spostamento di myhost.c in mygethost.c
[gapil.git] / sources / myhost.c
index eeb2e6925ca6d1f50e1e98011494c6c70cd9e1ce..76cf84477eb5edd568c52c40bf3d6199b30dfb1a 100644 (file)
@@ -1,4 +1,4 @@
-/* myhost.c
+/* mygethost.c
  * 
  * Copyright (C) 2004 Simone Piccardi
  * 
  * 
  * Copyright (C) 2004 Simone Piccardi
  * 
  */
 /*****************************************************************************
  *
  */
 /*****************************************************************************
  *
- * File myhost.c: An example host command
+ * File mygethost.c: An example host command
  *
  * Author: S. Piccardi Jul. 2004
  *
  *
  * Author: S. Piccardi Jul. 2004
  *
- * $Id: myhost.c,v 1.1 2004/07/03 22:53:13 piccardi Exp $
+ * $Id$
  *
  *****************************************************************************/
 #include <netdb.h>
  *
  *****************************************************************************/
 #include <netdb.h>
@@ -117,9 +117,9 @@ int main(int argc, char *argv[])
  * routine to print usage info and exit
  */
 void usage(void) {
  * routine to print usage info and exit
  */
 void usage(void) {
-    printf("Program myhost: do an hostname resolution \n");
+    printf("Program mygethost: do an hostname resolution \n");
     printf("Usage:\n");
     printf("Usage:\n");
-    printf("  myhost [-h] hostname \n");
-    printf("  -h          print this help\n");
+    printf("  mygethost [-h] hostname \n");
+    printf("  -h   print this help\n");
     exit(1);
 }
     exit(1);
 }