Changeset 93702 in vbox for trunk/src/VBox
- Timestamp:
- Feb 11, 2022 7:01:29 PM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h
r93699 r93702 98 98 { 99 99 USAGE_INVALID = 0, 100 USAGE_SHOWVMINFO,101 100 USAGE_REGISTERVM, 102 101 USAGE_UNREGISTERVM, -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r93627 r93702 3024 3024 VMNameOrUuid = ValueUnion.psz; 3025 3025 else 3026 return errorSyntax( USAGE_SHOWVMINFO,Info::tr("Invalid parameter '%s'"), ValueUnion.psz);3026 return errorSyntax(Info::tr("Invalid parameter '%s'"), ValueUnion.psz); 3027 3027 break; 3028 3028 3029 3029 default: 3030 return errorGetOpt( USAGE_SHOWVMINFO,c, &ValueUnion);3030 return errorGetOpt(c, &ValueUnion); 3031 3031 } 3032 3032 } … … 3034 3034 /* check for required options */ 3035 3035 if (!VMNameOrUuid) 3036 return errorSyntax( USAGE_SHOWVMINFO,Info::tr("VM name or UUID required"));3036 return errorSyntax(Info::tr("VM name or UUID required")); 3037 3037 3038 3038 /* try to find the given machine */ … … 3045 3045 /* Printing the log is exclusive. */ 3046 3046 if (fLog && (fMachinereadable || fDetails)) 3047 return errorSyntax( USAGE_SHOWVMINFO,Info::tr("Option --log is exclusive"));3047 return errorSyntax(Info::tr("Option --log is exclusive")); 3048 3048 3049 3049 if (fLog)
Note:
See TracChangeset
for help on using the changeset viewer.