VirtualBox

Ignore:
Timestamp:
Nov 11, 2009 3:21:59 PM (15 years ago)
Author:
vboxsync
Message:

VBoxManageDisk.cpp: Wrong syntax diagram for convertfromraw if given an unknown switch.

File:
1 edited

Legend:

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

    r24258 r24590  
    800800
    801801            default:
    802                 if (c > 0)
    803                 {
    804                     if (RT_C_IS_PRINT(c))
    805                         return errorSyntax(USAGE_CONVERTFROMRAW, "Invalid option -%c", c);
    806                     else
    807                         return errorSyntax(USAGE_CONVERTFROMRAW, "Invalid option case %i", c);
    808                 }
    809                 else if (c == VERR_GETOPT_UNKNOWN_OPTION)
    810                     return errorSyntax(USAGE_CREATEHD, "unknown option: %s\n", ValueUnion.psz);
    811                 else if (ValueUnion.pDef)
    812                     return errorSyntax(USAGE_CONVERTFROMRAW, "%s: %Rrs", ValueUnion.pDef->pszLong, c);
    813                 else
    814                     return errorSyntax(USAGE_CONVERTFROMRAW, "error: %Rrs", c);
     802                return errorGetOpt(USAGE_CONVERTFROMRAW, c, &ValueUnion);
    815803        }
    816804    }
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