summaryrefslogtreecommitdiff
path: root/Documentation/contributing.rst
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-02-19 17:29:00 +0100
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-02-25 23:13:33 +0100
commit71e84c22dafbc45836c971f2154463ccf20077fc (patch)
treeac85b354cb8844f9c01156961aee4f408c12d19e /Documentation/contributing.rst
parentdd14f1ec2cb772d731570df54bbc9e10eae9e018 (diff)
cam: fix printing of camera name
Since commit c8c546fe99a343c1 ("cam: options: Add option type handling to options parser") introduced type handling for options the context the option is read became important. When reading the camera option for printing there is no explicit context to print it as a string and instead the int context was chosen resulting in: $ cam --camera foo Camera 0 not found While the expected output is: $ cam --camera foo Camera foo not found Fix this by providing the correct context for the camera option when printing it. Fixes: c8c546fe99a343c1 ("cam: options: Add option type handling to options parser") Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'Documentation/contributing.rst')
0 files changed, 0 insertions, 0 deletions