VirtualBox

Changeset 46998 in vbox for trunk


Ignore:
Timestamp:
Jul 5, 2013 10:13:50 AM (12 years ago)
Author:
vboxsync
Message:

VBoxManage/Help: unify help output regarding UUID and VM name

File:
1 edited

Legend:

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

    r46523 r46998  
    134134    if (u64Cmd & USAGE_SHOWVMINFO)
    135135        RTStrmPrintf(pStrm,
    136                            "%s showvminfo %s      <uuid>|<name> [--details]\n"
     136                           "%s showvminfo %s      <uuid|vmname> [--details]\n"
    137137                     "                            [--machinereadable]\n"
    138                            "%s showvminfo %s      <uuid>|<name> --log <idx>\n"
     138                           "%s showvminfo %s      <uuid|vmname> --log <idx>\n"
    139139                     "\n", SEP, SEP);
    140140
     
    146146    if (u64Cmd & USAGE_UNREGISTERVM)
    147147        RTStrmPrintf(pStrm,
    148                            "%s unregistervm %s    <uuid>|<name> [--delete]\n"
     148                           "%s unregistervm %s    <uuid|vmname> [--delete]\n"
    149149                     "\n", SEP);
    150150
     
    162162    {
    163163        RTStrmPrintf(pStrm,
    164                            "%s modifyvm %s        <uuid|name>\n"
     164                           "%s modifyvm %s        <uuid|vmname>\n"
    165165                     "                            [--name <name>]\n"
    166166                     "                            [--groups <group>, ...]\n"
     
    384384    if (u64Cmd & USAGE_CLONEVM)
    385385        RTStrmPrintf(pStrm,
    386                            "%s clonevm %s         <uuid>|<name>\n"
     386                           "%s clonevm %s         <uuid|vmname>\n"
    387387                     "                            [--snapshot <uuid>|<name>]\n"
    388388                     "                            [--mode machine|machineandchildren|all]\n"
     
    398398    if (u64Cmd & USAGE_IMPORTAPPLIANCE)
    399399        RTStrmPrintf(pStrm,
    400                            "%s import %s          <ovf/ova>\n"
     400                           "%s import %s          <ovfname/ovaname>\n"
    401401                     "                            [--dry-run|-n]\n"
    402402                     "                            [--options keepallmacs|keepnatmacs]\n"
     
    424424    {
    425425        RTStrmPrintf(pStrm,
    426                            "%s startvm %s         <uuid>|<name>...\n"
     426                           "%s startvm %s         <uuid|vmname>...\n"
    427427                     "                            [--type gui", SEP);
    428428        if (fVBoxSDL)
     
    436436    {
    437437        RTStrmPrintf(pStrm,
    438                            "%s controlvm %s       <uuid>|<name>\n"
     438                           "%s controlvm %s       <uuid|vmname>\n"
    439439                     "                            pause|resume|reset|poweroff|savestate|\n"
    440440                     "                            acpipowerbutton|acpisleepbutton|\n"
     
    488488    if (u64Cmd & USAGE_DISCARDSTATE)
    489489        RTStrmPrintf(pStrm,
    490                            "%s discardstate %s    <uuid>|<name>\n"
     490                           "%s discardstate %s    <uuid|vmname>\n"
    491491                     "\n", SEP);
    492492
    493493    if (u64Cmd & USAGE_ADOPTSTATE)
    494494        RTStrmPrintf(pStrm,
    495                            "%s adoptstate %s      <uuid>|<name> <state_file>\n"
     495                           "%s adoptstate %s      <uuid|vmname> <state_file>\n"
    496496                     "\n", SEP);
    497497
    498498    if (u64Cmd & USAGE_SNAPSHOT)
    499499        RTStrmPrintf(pStrm,
    500                            "%s snapshot %s        <uuid>|<name>\n"
     500                           "%s snapshot %s        <uuid|vmname>\n"
    501501                     "                            take <name> [--description <desc>] [--pause] |\n"
    502                      "                            delete <uuid>|<name> |\n"
    503                      "                            restore <uuid>|<name> |\n"
     502                     "                            delete <uuid|snapname> |\n"
     503                     "                            restore <uuid|snapname> |\n"
    504504                     "                            restorecurrent |\n"
    505                      "                            edit <uuid>|<name>|--current\n"
     505                     "                            edit <uuid|snapname>|--current\n"
    506506                     "                                 [--name <name>]\n"
    507507                     "                                 [--description <desc>] |\n"
    508508                     "                            list [--details|--machinereadable]\n"
    509                      "                            showvminfo <uuid>|<name>\n"
     509                     "                            showvminfo <uuid|snapname>\n"
    510510                     "\n", SEP);
    511511
    512512    if (u64Cmd & USAGE_CLOSEMEDIUM)
    513513        RTStrmPrintf(pStrm,
    514                            "%s closemedium %s     disk|dvd|floppy <uuid>|<filename>\n"
     514                           "%s closemedium %s     disk|dvd|floppy <uuid|filename>\n"
    515515                     "                            [--delete]\n"
    516516                     "\n", SEP);
     
    524524                     "                            [--type dvddrive|hdd|fdd]\n"
    525525                     "                            [--medium none|emptydrive|additions|\n"
    526                      "                                      <uuid>|<filename>|host:<drive>|iscsi]\n"
     526                     "                                      <uuid|filename>|host:<drive>|iscsi]\n"
    527527                     "                            [--mtype normal|writethrough|immutable|shareable|\n"
    528528                     "                                     readonly|multiattach]\n"
     
    575575    if (u64Cmd & USAGE_SHOWHDINFO)
    576576        RTStrmPrintf(pStrm,
    577                            "%s showhdinfo %s      <uuid>|<filename>\n"
     577                           "%s showhdinfo %s      <uuid|filename>\n"
    578578                     "\n", SEP);
    579579
     
    589589    if (u64Cmd & USAGE_MODIFYHD)
    590590        RTStrmPrintf(pStrm,
    591                            "%s modifyhd %s        <uuid>|<filename>\n"
     591                           "%s modifyhd %s        <uuid|filename>\n"
    592592                     "                            [--type normal|writethrough|immutable|shareable|\n"
    593593                     "                                    readonly|multiattach]\n"
     
    599599    if (u64Cmd & USAGE_CLONEHD)
    600600        RTStrmPrintf(pStrm,
    601                            "%s clonehd %s         <uuid>|<filename> <uuid>|<outputfile>\n"
     601                           "%s clonehd %s         <uuid|inputfile> <uuid|outputfile>\n"
    602602                     "                            [--format VDI|VMDK|VHD|RAW|<other>]\n"
    603603                     "                            [--variant Standard,Fixed,Split2G,Stream,ESX]\n"
     
    619619    if (u64Cmd & USAGE_GETEXTRADATA)
    620620        RTStrmPrintf(pStrm,
    621                            "%s getextradata %s    global|<uuid>|<name>\n"
     621                           "%s getextradata %s    global|<uuid|vmname>\n"
    622622                     "                            <key>|enumerate\n"
    623623                     "\n", SEP);
     
    625625    if (u64Cmd & USAGE_SETEXTRADATA)
    626626        RTStrmPrintf(pStrm,
    627                            "%s setextradata %s    global|<uuid>|<name>\n"
     627                           "%s setextradata %s    global|<uuid|vmname>\n"
    628628                     "                            <key>\n"
    629629                     "                            [<value>] (no value deletes key)\n"
     
    644644        RTStrmPrintf(pStrm,
    645645                           "%s usbfilter %s       add <index,0-N>\n"
    646                      "                            --target <uuid>|<name>|global\n"
     646                     "                            --target <uuid|vmname>|global\n"
    647647                     "                            --name <string>\n"
    648648                     "                            --action ignore|hold (global filters only)\n"
     
    661661        RTStrmPrintf(pStrm,
    662662                           "%s usbfilter %s       modify <index,0-N>\n"
    663                      "                            --target <uuid>|<name>|global\n"
     663                     "                            --target <uuid|vmname>|global\n"
    664664                     "                            [--name <string>]\n"
    665665                     "                            [--action ignore|hold] (global filters only)\n"
     
    678678        RTStrmPrintf(pStrm,
    679679                           "%s usbfilter %s       remove <index,0-N>\n"
    680                      "                            --target <uuid>|<name>|global\n"
     680                     "                            --target <uuid|vmname>|global\n"
    681681                     "\n", SEP);
    682682
    683683    if (u64Cmd & USAGE_SHAREDFOLDER_ADD)
    684684        RTStrmPrintf(pStrm,
    685                            "%s sharedfolder %s    add <vmname>|<uuid>\n"
     685                           "%s sharedfolder %s    add <uuid|vmname>\n"
    686686                     "                            --name <name> --hostpath <hostpath>\n"
    687687                     "                            [--transient] [--readonly] [--automount]\n"
     
    690690    if (u64Cmd & USAGE_SHAREDFOLDER_REMOVE)
    691691        RTStrmPrintf(pStrm,
    692                            "%s sharedfolder %s    remove <vmname>|<uuid>\n"
     692                           "%s sharedfolder %s    remove <uuid|vmname>\n"
    693693                     "                            --name <name> [--transient]\n"
    694694                     "\n", SEP);
     
    707707    {
    708708        RTStrmPrintf(pStrm,
    709                            "%s debugvm %s         <uuid>|<name>\n"
     709                           "%s debugvm %s         <uuid|vmname>\n"
    710710                     "                            dumpguestcore --filename <name> |\n"
    711711                     "                            info <item> [args] |\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