From: Gerhard Sittig Date: Sun, 25 Jun 2017 17:56:33 +0000 (+0200) Subject: device manager: Add support for -d cmdline option (driver scan options) X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=58d8e4c6c50bb119d405d754a6fb122d932d6510;hp=58d8e4c6c50bb119d405d754a6fb122d932d6510;p=pulseview.git device manager: Add support for -d cmdline option (driver scan options) The previous implementation had support to auto-detect devices and to connect to and pick devices by filling in dialogs, optionally providing scan options that did not apply to auto-detection. This commit extends the existing support by introducing a -d command line option similar to sigrok-cli. In the absence of the -d command line option, behaviour is identical to the previous implementation. When -d is provided, the specified driver is excluded from the auto-detection phase, and another scan is executed afterwards where the user specified scan options take effect. This shall result in least interaction and highest reliability of device detection, while flexibility is increased. Here are examples of what the -d command line option can do: $ pulseview -d ols:conn=/dev/ttyACM0 $ pulseview -d fx2lafw $ pulseview -d demo:logic_channels=32:analog_channels=8 This fixes bug #953. ---