VirtualBox

Changeset 93702 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 11, 2022 7:01:29 PM (3 years ago)
Author:
vboxsync
Message:

VBoxManage: Finish cleanup for 'showvminfo'.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h

    r93699 r93702  
    9898{
    9999    USAGE_INVALID = 0,
    100     USAGE_SHOWVMINFO,
    101100    USAGE_REGISTERVM,
    102101    USAGE_UNREGISTERVM,
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp

    r93627 r93702  
    30243024                    VMNameOrUuid = ValueUnion.psz;
    30253025                else
    3026                     return errorSyntax(USAGE_SHOWVMINFO, Info::tr("Invalid parameter '%s'"), ValueUnion.psz);
     3026                    return errorSyntax(Info::tr("Invalid parameter '%s'"), ValueUnion.psz);
    30273027                break;
    30283028
    30293029            default:
    3030                 return errorGetOpt(USAGE_SHOWVMINFO, c, &ValueUnion);
     3030                return errorGetOpt(c, &ValueUnion);
    30313031        }
    30323032    }
     
    30343034    /* check for required options */
    30353035    if (!VMNameOrUuid)
    3036         return errorSyntax(USAGE_SHOWVMINFO, Info::tr("VM name or UUID required"));
     3036        return errorSyntax(Info::tr("VM name or UUID required"));
    30373037
    30383038    /* try to find the given machine */
     
    30453045    /* Printing the log is exclusive. */
    30463046    if (fLog && (fMachinereadable || fDetails))
    3047         return errorSyntax(USAGE_SHOWVMINFO, Info::tr("Option --log is exclusive"));
     3047        return errorSyntax(Info::tr("Option --log is exclusive"));
    30483048
    30493049    if (fLog)
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