VirtualBox

Changeset 94235 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 15, 2022 9:21:26 AM (3 years ago)
Author:
vboxsync
Message:

FE/VBoxManage: Some more cleanups, ​bugref:9186

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r94234 r94235  
    509509void printUsage(USAGECATEGORY enmCommand, uint64_t fSubcommandScope, PRTSTREAM pStrm)
    510510{
    511     bool fDumpOpts = false;
    512 #ifdef RT_OS_LINUX
    513     bool fLinux = true;
    514 #else
    515     bool fLinux = false;
    516 #endif
    517 #ifdef RT_OS_WINDOWS
    518     bool fWin = true;
    519 #else
    520     bool fWin = false;
    521 #endif
    522 #ifdef RT_OS_SOLARIS
    523     bool fSolaris = true;
    524 #else
    525     bool fSolaris = false;
    526 #endif
    527 #ifdef RT_OS_FREEBSD
    528     bool fFreeBSD = true;
    529 #else
    530     bool fFreeBSD = false;
    531 #endif
    532 #ifdef RT_OS_DARWIN
    533     bool fDarwin = true;
    534 #else
    535     bool fDarwin = false;
    536 #endif
    537 #ifdef VBOX_WITH_VBOXSDL
    538     bool fVBoxSDL = true;
    539 #else
    540     bool fVBoxSDL = false;
    541 #endif
    542 
    543511    RT_NOREF(fSubcommandScope);
    544512
     
    547515
    548516    if (enmCommand == USAGE_S_DUMPOPTS)
    549     {
    550         fDumpOpts = true;
    551         fLinux = true;
    552         fWin = true;
    553         fSolaris = true;
    554         fFreeBSD = true;
    555         fDarwin = true;
    556         fVBoxSDL = true;
    557517        enmCommand = USAGE_S_ALL;
    558     }
    559518
    560519    RTStrmPrintf(pStrm,
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