Project

General

Profile

Actions

Feature #3823

open

Allow user-defined command line arguments

Added by Anonymous about 9 years ago. Updated about 9 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
Target version:
-
Start date:
02/25/2015
Due date:
% Done:

0%

Estimated time:

Description

Can the generation of the boost::program_options::options_description be exposed to the user, so we can add our own command line arguments to the application? Alternatively, change the call to boost::program_options::parse_command_line to the below:

boost::program_options::command_line_parser(argc, argv).options(desc).allow_unregistered().run()

Which would stop an exception being thrown when the parser sees one of my arguments, meaning argc/argv can be passed through without modification.

Actions #1

Updated by Koen Deforche about 9 years ago

  • Status changed from New to Feedback
  • Assignee set to Koen Deforche

Would it be okay if we allow 'allow_unregistered()' only with some additional setting in WServer or WServer::setServerConfiguration()?

Actions

Also available in: Atom PDF