Changeset 25108 in vbox
- Timestamp:
- Nov 30, 2009 1:08:28 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp
r24998 r25108 921 921 { "--type", 't', RTGETOPT_REQ_STRING }, 922 922 { "-type", 't', RTGETOPT_REQ_STRING }, // deprecated 923 { "--comment", 'c', RTGETOPT_REQ_STRING },924 { "-comment", 'c', RTGETOPT_REQ_STRING }, // deprecated925 923 { "--intnet", 'I', RTGETOPT_REQ_NOTHING }, 926 924 { "-intnet", 'I', RTGETOPT_REQ_NOTHING }, // deprecated … … 982 980 if (RT_FAILURE(vrc)) 983 981 return errorArgument("Invalid hard disk type '%s'", ValueUnion.psz); 984 break;985 986 case 'c': // --comment987 comment = ValueUnion.psz;988 982 break; 989 983 … … 1038 1032 } 1039 1033 CheckComRCBreakRC (rc); 1040 1041 if (!comment.isNull())1042 CHECK_ERROR(hardDisk, COMSETTER(Description)(comment));1043 1034 1044 1035 if (!port.isNull()) -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r24901 r25108 461 461 " [--password <password>]\n" 462 462 " [--type normal|writethrough|immutable]\n" 463 " [--comment <comment>]\n"464 463 " [--intnet]\n" 465 464 "\n");
Note:
See TracChangeset
for help on using the changeset viewer.