Changeset 48985 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Oct 8, 2013 10:38:17 PM (11 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r48966 r48985 553 553 " [--controller LSILogic|LSILogicSAS|BusLogic|\n" 554 554 " IntelAHCI|PIIX3|PIIX4|ICH6|I82078]\n" 555 " [-- sataportcount <1-30>]\n"555 " [--portcount <1-n>]\n" 556 556 " [--hostiocache on|off]\n" 557 557 " [--bootable on|off]\n" -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageStorageController.cpp
r48983 r48985 907 907 { "--add", 'a', RTGETOPT_REQ_STRING }, 908 908 { "--controller", 'c', RTGETOPT_REQ_STRING }, 909 { "-- sataportcount",'p', RTGETOPT_REQ_UINT32 },909 { "--portcount", 'p', RTGETOPT_REQ_UINT32 }, 910 910 { "--remove", 'r', RTGETOPT_REQ_NOTHING }, 911 911 { "--hostiocache", 'i', RTGETOPT_REQ_STRING }, … … 924 924 ULONG satabootdev = ~0U; 925 925 ULONG sataidedev = ~0U; 926 ULONG sataportcount= ~0U;926 ULONG portcount = ~0U; 927 927 bool fRemoveCtl = false; 928 928 ComPtr<IMachine> machine; … … 968 968 } 969 969 970 case 'p': // sataportcount971 { 972 sataportcount = ValueUnion.u32;970 case 'p': // portcount 971 { 972 portcount = ValueUnion.u32; 973 973 break; 974 974 } … … 1134 1134 } 1135 1135 1136 if ( ( sataportcount != ~0U)1136 if ( (portcount != ~0U) 1137 1137 && SUCCEEDED(rc)) 1138 1138 { … … 1144 1144 if (SUCCEEDED(rc)) 1145 1145 { 1146 CHECK_ERROR(ctl, COMSETTER(PortCount)( sataportcount));1146 CHECK_ERROR(ctl, COMSETTER(PortCount)(portcount)); 1147 1147 } 1148 1148 else
Note:
See TracChangeset
for help on using the changeset viewer.