Looks like unity-mir would really need to re-implement
mir::options::ProgramOption and pass our own version back in an
overridden version of the_options().

ProgramOption actually makes the call to parse_command_line()
internally, its variable_maps instance that holds all the parsed options
is private, and it doesn't expose any other way to set the options.  So
that's where the action is.

Unfortunately, we'd have to just copy the chunks of code for
parse_environment() and parse_file().

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1226227

Title:
  libmirserver parses arguments and fails if it's not something it
  understands

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1226227/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to