[ofw] [PATCH] allow ndinstall.exe to conform to Windows help request convention '/?'

Smith, Stan stan.smith at intel.com
Wed Jan 13 09:26:25 PST 2010


Conform ndinstall.exe to Windows help/info request convention '/?'

Signed-off-by: stan smith <stan.smith at intel.com>

--- 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':



More information about the ofw mailing list