Hefty, Sean wrote:
>> --- A/tools/ndinstall/user/installsp.c  Wed Jan 13 09:22:02 2010
>> +++ B/tools/ndinstall/user/installsp.c  Wed Jan 13 09:03:58 2010 @@
>>        -290,6 +290,9 @@ WSADATA wsd;
>>        char *prov;
>>
>> +       if (argc > 1 && strcmp(argv[1],"/?") == 0)
>> +               goto usage;
>> +
>>        while ((op = getopt(argc, argv, "hi::r::dlq")) != -1) {
>>                switch (op) { case 'h':
>
> getopt should be updated to use '-' or '/' for indicating options.

Please feel free to embellish getopt()...for now I'm concerned with 2.2 release 
and will modify this code when getopt() supports multiple switch identifiers 
along with the switch '?'.


_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to