VirtualBox

Changeset 57762 in vbox


Ignore:
Timestamp:
Sep 15, 2015 2:50:20 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: Main.cpp cleanup/rework bit-by-bit (step 5).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/main.cpp

    r57761 r57762  
    235235}
    236236
    237 /**
    238  * Show all available command line parameters.
    239  */
    240 static void showHelp()
     237/** Shows all available command line parameters. */
     238static void ShowHelp()
    241239{
    242240    RTPrintf(VBOX_PRODUCT " Manager %s\n"
     
    258256# ifdef VBOX_GUI_WITH_PIDFILE
    259257            "  --pidfile <file>           create a pidfile file when a VM is up and running\n"
    260 # endif
     258# endif /* VBOX_GUI_WITH_PIDFILE */
    261259# ifdef VBOX_WITH_DEBUGGER_GUI
    262260            "  --dbg                      enable the GUI debug menu\n"
     
    268266            "  --start-running            start the VM running (for overriding --debug*)\n"
    269267            "\n"
    270 # endif
     268# endif /* VBOX_WITH_DEBUGGER_GUI */
    271269            "Expert options:\n"
    272270            "  --disable-patm             disable code patching (ignored by AMD-V/VT-x)\n"
     
    287285            "                             show debug windows at VM startup\n"
    288286            "  VBOX_GUI_NO_DEBUGGER       disable the GUI debug menu and debug windows\n"
    289 # endif
     287# endif /* VBOX_WITH_DEBUGGER_GUI */
    290288            "\n",
    291289            RTBldCfgVersion());
     
    347345                || !strcmp(argv[i], "--help"))
    348346            {
    349                 showHelp();
    350347                fHelpShown = true;
     348                ShowHelp();
    351349                break;
    352350            }
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