aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2015-08-05 08:46:28 -0700
committerMartin Braun <martin.braun@ettus.com>2015-08-05 13:04:04 -0700
commitbb62ab84fdad6f7cf18ea55d395dfbd7f11ed79d (patch)
treeab9bb3a78f10661e12b832c9c341d027463739ba /host/include
parentc3c9513b9b5f67afe4233659222fdfc5bbb2511c (diff)
downloaduhd-bb62ab84fdad6f7cf18ea55d395dfbd7f11ed79d.tar.gz
uhd-bb62ab84fdad6f7cf18ea55d395dfbd7f11ed79d.tar.bz2
uhd-bb62ab84fdad6f7cf18ea55d395dfbd7f11ed79d.zip
image_loader: force user to specify device
* On utility level, force user to use --args=type=foo * In each loader, throw an error if args are ambiguous
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/image_loader.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/include/uhd/image_loader.hpp b/host/include/uhd/image_loader.hpp
index 8124e7dea..5963c862f 100644
--- a/host/include/uhd/image_loader.hpp
+++ b/host/include/uhd/image_loader.hpp
@@ -46,8 +46,9 @@ public:
*
* This function must return true upon the end of a successful image load
* or false if no applicable device was found. It may only throw a runtime
- * error under one of two conditions:
+ * error under one of three conditions:
*
+ * * The function finds multiple devices that fit the user's arguments.
* * The function has already engaged with a specific device and
* something goes wrong.
* * The user gives arguments that unambiguously lead to a specific