VirtualBox

Ignore:
Timestamp:
Feb 23, 2010 9:15:48 AM (15 years ago)
Author:
vboxsync
Message:

RTGetOptPrintError: return RTEXITCODE_SYNTAX.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/getopt.cpp

    r26485 r26694  
    750750
    751751
    752 RTDECL(int) RTGetOptPrintError(int ch, PCRTGETOPTUNION pValueUnion)
     752RTDECL(RTEXITCODE) RTGetOptPrintError(int ch, PCRTGETOPTUNION pValueUnion)
    753753{
    754754    if (ch == VINF_GETOPT_NOT_OPTION)
     
    768768        RTMsgError("%Rrs\n", ch);
    769769
    770     return 2; /** @todo add defines for EXIT_SUCCESS, EXIT_FAILURE, EXIT_INVAL, etc... */
     770    return RTEXITCODE_SYNTAX;
    771771}
    772772RT_EXPORT_SYMBOL(RTGetOptPrintError);
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