]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[NDINSTALL] utilize getopt() changes to implement '/?' help request.
authorStan Smith <stan.smith@intel.com>
Mon, 1 Feb 2010 02:31:33 +0000 (02:31 +0000)
committerStan Smith <stan.smith@intel.com>
Mon, 1 Feb 2010 02:31:33 +0000 (02:31 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1@2692 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/tools/ndinstall/user/installsp.c

index c62ef2afeece01e8162fda4dd990e87495d464e0..d95e2a45b183d0c1ab126c3a11e06655727e432f 100644 (file)
@@ -290,8 +290,9 @@ int __cdecl main (int argc, char *argv[])
        WSADATA wsd;\r
        char *prov;\r
 \r
-       while ((op = getopt(argc, argv, "hi::r::dlq")) != -1) {\r
+       while ((op = getopt(argc, argv, "?hi::r::dlq")) != -1) {\r
                switch (op) {\r
+               case '?':\r
                case 'h':\r
                                goto usage;\r
                case 'i':\r