VirtualBox

Ignore:
Timestamp:
Jun 5, 2009 11:00:32 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
48212
Message:

Frontends/VBoxManage, Main/Machine: implement new session type "headless" which suppresses any output. Based on the contribution by Josh Wright.

Location:
trunk/src/VBox/Frontends/VBoxManage
Files:
2 edited

Legend:

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

    r20294 r20313  
    462462                }
    463463#endif
     464#ifdef VBOX_WITH_HEADLESS
    464465                else if (!RTStrICmp(ValueUnion.psz, "capture"))
    465466                {
    466467                    sessionType = "capture";
    467468                }
     469                else if (!RTStrICmp(ValueUnion.psz, "headless"))
     470                {
     471                    sessionType = "headless";
     472                }
     473#endif
    468474                else
    469475                    return errorArgument("Invalid session type '%s'", ValueUnion.psz);
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r20054 r20313  
    259259    {
    260260        RTPrintf("VBoxManage startvm          <uuid>|<name>\n");
     261        RTPrintf("                            [--type gui");
    261262        if (fVRDP)
    262             RTPrintf("                            [--type gui|vrdp]\n");
     263            RTPrintf(                         "|vrdp");
     264        RTPrintf(                             "|headless]\n");
    263265        RTPrintf("\n");
    264266    }
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