summaryrefslogtreecommitdiff
path: root/src/cam/main.cpp
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-01-28 01:02:18 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-02-01 11:42:03 +0200
commit270eb0acc79346ac0b641f405c40bf3b959a4c6f (patch)
treefca6218b4fb3e0765e2c9e6fb3f366caea03e32e /src/cam/main.cpp
parentc8c546fe99a343c13c7c0b8f2e5e180c19831b43 (diff)
cam: options: Add a key=value parser
Some options passed to the cam utility need to be complex and specify a list of key=value pairs. Add a new parser to deal with these options, usable on its own to parse key=value pairs from any string. Integrate the KeyValueParser into the existing OptionsParser. The cam application can fully describe all its options in one location and perform full parsing of all arguments in one go. The KeyValueParser also integrates itself with the usage() printing of the OptionsParser. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/cam/main.cpp')
0 files changed, 0 insertions, 0 deletions