VirtualBox

Changeset 26517 in vbox for trunk/src/VBox/Main/generic


Ignore:
Timestamp:
Feb 14, 2010 9:39:00 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57688
Message:

*: RTGetOpt cleanup related to --help and --version (now standard option). Use RTGetOptPrintError.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/generic/OpenGLTestApp.cpp

    r26098 r26517  
    232232            { "--log",            'l',   RTGETOPT_REQ_STRING },
    233233#endif
    234             { "--help",           'h',   RTGETOPT_REQ_NOTHING },
    235234        };
    236235
     
    307306                    break;
    308307
     308                case 'V':
     309                    RTPrintf("$Revision: $\n");
     310                    return 0;
     311
    309312                case VERR_GETOPT_UNKNOWN_OPTION:
    310313                case VINF_GETOPT_NOT_OPTION:
     
    312315
    313316                default:
     317                    /* complain? RTGetOptPrintError(rc, &Val); */
    314318                    break;
    315319            }
    316320
    317             if(rc)
     321            if (rc)
    318322                break;
    319323        }
Note: See TracChangeset for help on using the changeset viewer.

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