VirtualBox

Ignore:
Timestamp:
Dec 4, 2018 12:36:59 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
127154
Message:

Main/DHCPServer: (bugref:9288) Renamed short options: '--nic' is now '-n' instead of '-c' and '--vm' is '-M' instead of '-n'.

File:
1 edited

Legend:

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

    r75918 r75945  
    115115    { "-disable",           'd', RTGETOPT_REQ_NOTHING },     // deprecated
    116116    { "--options",          'o', RTGETOPT_REQ_NOTHING },
    117     { "--vm",               'n', RTGETOPT_REQ_STRING}, /* only with -o */
    118     { "--nic",              'c', RTGETOPT_REQ_UINT8}, /* only with -o and -n */
     117    { "--vm",               'M', RTGETOPT_REQ_STRING}, /* only with -o */
     118    { "--nic",              'n', RTGETOPT_REQ_UINT8}, /* only with -o and -M */
    119119    { "--id",               'i', RTGETOPT_REQ_UINT8}, /* only with -o */
    120120    { "--value",            'p', RTGETOPT_REQ_STRING}, /* only with -i */
     
    254254                break;
    255255
    256             case 'n': // --vm-name
     256            case 'M': // --vm
    257257                {
    258258                    if (fVmOptionRead)
     
    264264                    pszVmName = RTStrDup(ValueUnion.psz);
    265265                }
    266                 break; /* end of --vm-name */
    267 
    268             case 'c': // --nic
     266                break; /* end of --vm */
     267
     268            case 'n': // --nic
    269269                {
    270270                    if (!fVmOptionRead)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette