@Nadav just bump

On 12/29/2016 05:49 PM, Justin Cinkelj wrote:
In https://github.com/cloudius-systems/osv/issues/819 is asked for
supporting --env in scripts, as a way to pass input parameters to the
to be started program. Nadav suggested that parse_options could be reused.

The first commit splits parse_options into two functinos (parse + apply part),
so that parse part can be resued on other places. This is then reused in
second commit in runscript to allow "--env=key=value /my_program.so".

Justin Cinkelj (2):
   command line: split parse_options into reusable parts
   command line: allow --env in runscript

  core/commands.cc      | 39 +++++++++++++++++++++++++++++
  loader.cc             | 68 +++++++++++++++++++++++++++++++++++++--------------
  tests/tst-commands.cc | 52 +++++++++++++++++++++++++++++++++++++++
  3 files changed, 141 insertions(+), 18 deletions(-)


--
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to