- Timestamp:
- Jun 19, 2007 11:22:23 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r3117 r3154 316 316 " [-ioapic on|off]\n" 317 317 " [-hwvirtex on|off|default]\n" 318 " [-monitorcount <number>\n" 318 319 " [-bioslogofadein on|off]\n" 319 320 " [-bioslogofadeout on|off]\n" … … 840 841 RTPrintf("State: %s (since %s)\n", pszState, pszTime); 841 842 843 ULONG numMonitors; 844 machine->COMGETTER(MonitorCount)(&numMonitors); 845 RTPrintf("Monitor count: %d\n", numMonitors); 846 842 847 ComPtr<IFloppyDrive> floppyDrive; 843 848 rc = machine->COMGETTER(FloppyDrive)(floppyDrive.asOutParam()); … … 2723 2728 char *hwvirtex = NULL; 2724 2729 char *ioapic = NULL; 2730 int monitorcount = -1; 2725 2731 char *bioslogofadein = NULL; 2726 2732 char *bioslogofadeout = NULL; … … 2839 2845 hwvirtex = argv[i]; 2840 2846 } 2847 else if (strcmp(argv[i], "-monitorcount") == 0) 2848 { 2849 if (argc <= i + 1) 2850 { 2851 return errorArgument("Missing argument to '%s'", argv[i]); 2852 } 2853 i++; 2854 monitorcount = atoi(argv[i]); 2855 } 2841 2856 else if (strcmp(argv[i], "-bioslogofadein") == 0) 2842 2857 { … … 3311 3326 break; 3312 3327 } 3328 } 3329 if (monitorcount != -1) 3330 { 3331 CHECK_ERROR(machine, COMSETTER(MonitorCount)(monitorcount)); 3313 3332 } 3314 3333 if (bioslogofadein)
Note:
See TracChangeset
for help on using the changeset viewer.