VirtualBox

Changeset 18097 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Mar 19, 2009 4:57:56 PM (16 years ago)
Author:
vboxsync
Message:

Runtime/getopt: fix sample code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/getopt.h

    r17441 r18097  
    275275 *                  if (ch > 0)
    276276 *                      Error("missing case: %c\n", ch);
     277 *                  else if (ch == VERR_GETOPT_UNKNOWN_OPTION)
     278 *                      Error("unknown option: %s", psz);
    277279 *                  else if (ValueUnion.pDef)
    278280 *                      Error("%s: %Rrs", ValueUnion.pDef->pszLong, ch);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette