Changeset 23705 in vbox for trunk/src/VBox
- Timestamp:
- Oct 12, 2009 4:23:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r23667 r23705 615 615 616 616 if (rc == VINF_GETOPT_NOT_OPTION) 617 return RTPrintf("error: Invalid parameter '%s' ", pValueUnion->psz);617 return RTPrintf("error: Invalid parameter '%s'\n", pValueUnion->psz); 618 618 if (rc > 0) 619 619 { 620 620 if (RT_C_IS_PRINT(rc)) 621 return RTPrintf("error: Invalid option -%c ", rc);622 return RTPrintf("error: Invalid option case %i ", rc);621 return RTPrintf("error: Invalid option -%c\n", rc); 622 return RTPrintf("error: Invalid option case %i\n", rc); 623 623 } 624 624 if (rc == VERR_GETOPT_UNKNOWN_OPTION) 625 625 return RTPrintf("error: unknown option: %s\n", pValueUnion->psz); 626 626 if (pValueUnion->pDef) 627 return RTPrintf("error: %s: %Rrs ", pValueUnion->pDef->pszLong, rc);628 return RTPrintf("error: %Rrs ", rc);627 return RTPrintf("error: %s: %Rrs\n", pValueUnion->pDef->pszLong, rc); 628 return RTPrintf("error: %Rrs\n", rc); 629 629 } 630 630
Note:
See TracChangeset
for help on using the changeset viewer.