VirtualBox

Changeset 17078 in vbox for trunk/include/iprt/getopt.h


Ignore:
Timestamp:
Feb 24, 2009 4:59:16 PM (16 years ago)
Author:
vboxsync
Message:

IPRT: make RTGetOpt accept non-'--' parameters; use RTGetOpt for 'VBoxManage list'; default to short output for 'list vms' unless --long is specified

File:
1 edited

Legend:

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

    r14326 r17078  
    9393     * This doesn't have to be a character, it may also be a \#define or enum value if
    9494     * there isn't any short version of this option. */
    95     int             iShort;
     95    uint32_t        uShort;
    9696    /** The flags (RTGETOPT_*). */
    9797    unsigned        fFlags;
     
    202202 *                      Error("missing case: %c\n", ch);
    203203 *                  else if (ValueUnion.pDef)
    204  *                      Error("%s: %Rrc, ValueUnion.pDef->pszLong);
     204 *                      Error("%s: %Rrs", ValueUnion.pDef->pszLong, ch);
    205205 *                  else
    206  *                      Error("%Rrc, ValueUnion.pDef->pszLong);
     206 *                      Error("%Rrs", ch);
    207207 *                  return 1;
    208208 *          }
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