VirtualBox

Changeset 25108 in vbox


Ignore:
Timestamp:
Nov 30, 2009 1:08:28 PM (15 years ago)
Author:
vboxsync
Message:

Frontends/VBoxManage: the iSCSI backend doesn't support comments

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

Legend:

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

    r24998 r25108  
    921921    { "--type",         't', RTGETOPT_REQ_STRING },
    922922    { "-type",          't', RTGETOPT_REQ_STRING },     // deprecated
    923     { "--comment",      'c', RTGETOPT_REQ_STRING },
    924     { "-comment",       'c', RTGETOPT_REQ_STRING },     // deprecated
    925923    { "--intnet",       'I', RTGETOPT_REQ_NOTHING },
    926924    { "-intnet",        'I', RTGETOPT_REQ_NOTHING },    // deprecated
     
    982980                if (RT_FAILURE(vrc))
    983981                    return errorArgument("Invalid hard disk type '%s'", ValueUnion.psz);
    984                 break;
    985 
    986             case 'c':   // --comment
    987                 comment = ValueUnion.psz;
    988982                break;
    989983
     
    10381032        }
    10391033        CheckComRCBreakRC (rc);
    1040 
    1041         if (!comment.isNull())
    1042             CHECK_ERROR(hardDisk, COMSETTER(Description)(comment));
    10431034
    10441035        if (!port.isNull())
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r24901 r25108  
    461461                 "                            [--password <password>]\n"
    462462                 "                            [--type normal|writethrough|immutable]\n"
    463                  "                            [--comment <comment>]\n"
    464463                 "                            [--intnet]\n"
    465464                 "\n");
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