VirtualBox

Changeset 108300 in vbox


Ignore:
Timestamp:
Feb 19, 2025 3:30:47 PM (3 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167644
Message:

VBoxSVC/Win: Fixed an ancient bug: Actually handle the help command (still very incomplete for what we offer today) -- was completely ignored by RTGetOpt.

File:
1 edited

Legend:

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

    r106061 r108300  
    932932        { "-reregserver",   'f',    RTGETOPT_REQ_NOTHING | RTGETOPT_FLAG_ICASE },
    933933        { "/reregserver",   'f',    RTGETOPT_REQ_NOTHING | RTGETOPT_FLAG_ICASE },
     934        { "--help",         'h',    RTGETOPT_REQ_NOTHING | RTGETOPT_FLAG_ICASE },
     935        { "-help" ,         'h',    RTGETOPT_REQ_NOTHING | RTGETOPT_FLAG_ICASE },
     936        { "/help",          'h',    RTGETOPT_REQ_NOTHING | RTGETOPT_FLAG_ICASE },
     937        { "/?",             'h',    RTGETOPT_REQ_NOTHING | RTGETOPT_FLAG_ICASE },
    934938        { "--helper",       'H',    RTGETOPT_REQ_STRING | RTGETOPT_FLAG_ICASE },
    935939        { "-helper",        'H',    RTGETOPT_REQ_STRING | RTGETOPT_FLAG_ICASE },
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