VirtualBox

Changeset 108301 in vbox


Ignore:
Timestamp:
Feb 19, 2025 3:52:39 PM (3 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167645
Message:

VBoxSVC/Win: Fixed yet another ancient bug: Actually handle the version command -- was completely ignored by RTGetOpt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/win/svcmain.cpp

    r108300 r108301  
    954954        { "-registervbox",  'b',    RTGETOPT_REQ_NOTHING | RTGETOPT_FLAG_ICASE },
    955955        { "/registervbox",  'b',    RTGETOPT_REQ_NOTHING | RTGETOPT_FLAG_ICASE },
     956        { "--version",      'V',    RTGETOPT_REQ_NOTHING | RTGETOPT_FLAG_ICASE },
     957        { "-version",       'V',    RTGETOPT_REQ_NOTHING | RTGETOPT_FLAG_ICASE },
     958        { "/version",       'V',    RTGETOPT_REQ_NOTHING | RTGETOPT_FLAG_ICASE },
    956959    };
    957960
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