VirtualBox

Changeset 23705 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 12, 2009 4:23:04 PM (15 years ago)
Author:
vboxsync
Message:

VBoxManageHelp: newline char missing

File:
1 edited

Legend:

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

    r23667 r23705  
    615615
    616616    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);
    618618    if (rc > 0)
    619619    {
    620620        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);
    623623    }
    624624    if (rc == VERR_GETOPT_UNKNOWN_OPTION)
    625625        return RTPrintf("error: unknown option: %s\n", pValueUnion->psz);
    626626    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);
    629629}
    630630
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