diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-31 23:36:04 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-02-01 11:42:02 +0200 |
commit | c8c546fe99a343c13c7c0b8f2e5e180c19831b43 (patch) | |
tree | 631d116f09aa60d39fe4205507c9ac5ab667ef20 /test/list-cameras.cpp | |
parent | 6f3503981a4f20ef3e939a9b91c29ef12d95efd2 (diff) |
cam: options: Add option type handling to options parser
Extend the options parser with support for option types. All options
must now specify the type of their argument, and the parser
automatically parses the argument and handles errors internally.
Available types are none, integer or string.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/list-cameras.cpp')
0 files changed, 0 insertions, 0 deletions