--- projects/cms/source/idar/idar.c 2003/08/21 13:51:19 1.17 +++ projects/cms/source/idar/idar.c 2003/08/21 21:10:34 1.20 @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -971,7 +972,7 @@ void usage() { printf(" default: %s\n", DEF_SERVER_NAME); printf(" -p Specifies the i-scream server port.\n"); printf(" default: %d\n", DEF_SERVER_PORT); - printf(" -l Sets the list of hosts to monitor in a semi-colon seperated list.\n"); + printf(" -l Sets the list of hosts to monitor in a semi-colon separated list.\n"); printf(" -h Displays this help information.\n"); printf("\nReport bugs to <%s>.\n", PACKAGE_BUGREPORT); exit(1); @@ -1099,6 +1100,7 @@ int main(int argc, char **argv){ machine_list=strdup(optarg); break; case 'h': + default: usage(); break; }