From f98239c70d24bf3379ae4920534ae89ad535be14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Vo=C3=9F?= Date: Thu, 19 Jan 2017 18:40:37 +0100 Subject: [PATCH] Support positional arguments. Please note that this feature requires a reecent boost version, ideally 1.57 or later. --- src/anbox/cli.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/anbox/cli.cpp b/src/anbox/cli.cpp index fd396fd..c40be65 100644 --- a/src/anbox/cli.cpp +++ b/src/anbox/cli.cpp @@ -208,7 +208,7 @@ int cli::CommandWithFlagsAndAction::run(const Context& ctxt) { return action_(cli::Command::Context{ ctxt.cin, ctxt.cout, - po::collect_unrecognized(parsed.options, po::exclude_positional)}); + po::collect_unrecognized(parsed.options, po::include_positional)}); } catch (const po::error& e) { ctxt.cout << e.what() << std::endl; help(ctxt.cout);