ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/idar/idar.c
(Generate patch)

Comparing projects/cms/source/idar/idar.c (file contents):
Revision 1.17 by tdb, Thu Aug 21 13:51:19 2003 UTC vs.
Revision 1.20 by tdb, Thu Aug 21 21:10:34 2003 UTC

# Line 26 | Line 26
26   #include <string.h>
27   #include <sys/types.h>
28   #include <sys/socket.h>
29 + #include <sys/ioctl.h>
30   #include <unistd.h>
31   #include <stdlib.h>
32   #include <ukcprog.h>
# Line 971 | Line 972 | void usage() {
972          printf("            default: %s\n", DEF_SERVER_NAME);
973          printf("  -p    Specifies the i-scream server port.\n");
974          printf("            default: %d\n", DEF_SERVER_PORT);
975 <        printf("  -l    Sets the list of hosts to monitor in a semi-colon seperated list.\n");
975 >        printf("  -l    Sets the list of hosts to monitor in a semi-colon separated list.\n");
976          printf("  -h    Displays this help information.\n");
977          printf("\nReport bugs to <%s>.\n", PACKAGE_BUGREPORT);
978          exit(1);
# Line 1099 | Line 1100 | int main(int argc, char **argv){
1100                                  machine_list=strdup(optarg);
1101                                  break;
1102                          case 'h':
1103 +                        default:
1104                                  usage();
1105                                  break;
1106                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines