Update senseApiDesc.h and opts.cpp for clarity in device attachment and usage examples
This commit is contained in:
@@ -91,7 +91,7 @@ struct Sal_Mgmt_LibOps
|
|||||||
*/
|
*/
|
||||||
sal_mlo_finalizeIndFn *finalizeInd;
|
sal_mlo_finalizeIndFn *finalizeInd;
|
||||||
/* Salmanoff calls this to attach a device to the lib. When it returns, the
|
/* Salmanoff calls this to attach a device to the lib. When it returns, the
|
||||||
* device should be attached and ready to be implexed.
|
* device should be attached and ready to present its stimbuff.
|
||||||
*/
|
*/
|
||||||
sal_mlo_attachDeviceReqFn *attachDeviceReq;
|
sal_mlo_attachDeviceReqFn *attachDeviceReq;
|
||||||
// When this returns, the device should be detached.
|
// When this returns, the device should be detached.
|
||||||
|
|||||||
+1
-1
@@ -110,7 +110,7 @@ std::string OptionParser::getUsage() const
|
|||||||
"[-v|--verbose] "
|
"[-v|--verbose] "
|
||||||
"[-h|--help]\n\n"
|
"[-h|--help]\n\n"
|
||||||
"Example DAP spec:\n"
|
"Example DAP spec:\n"
|
||||||
" -s '+edev|device-identifier|visual-implexor|xcb(dev-substring)|xorg(display=0|screen=0)|my-window'";
|
" -s '+edev|my-cam|video-qualeiface|v4l2-video(fps-hz=30)|v4l2()|/dev/video0'";
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string OptionParser::stringifyOptions(void) const
|
std::string OptionParser::stringifyOptions(void) const
|
||||||
|
|||||||
Reference in New Issue
Block a user