Skip to content

Allow CommandLineParser.parse() instead of .process() #28

@thepinkmile

Description

@thepinkmile

I have a complicated application that requires many commandline options to be set.
However the first thing I need to start is the HttpServer, which is pulling args directly from QCoreApplication::instance().
Because the httpServer->initialize() uses m_ComandLineParser.process(*app) it fails with "Unknown options: my-custom-parameter".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions