aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/uhd_image_loader.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/utils/uhd_image_loader.cpp b/host/utils/uhd_image_loader.cpp
index 57ad57958..87dc22b5c 100644
--- a/host/utils/uhd_image_loader.cpp
+++ b/host/utils/uhd_image_loader.cpp
@@ -63,7 +63,9 @@ int UHD_SAFE_MAIN(int argc, char* argv[])
// clang-format on
po::variables_map vm;
- po::store(po::parse_command_line(argc, argv, desc), vm);
+ po::positional_options_description pos_desc;
+ po::store(
+ po::command_line_parser(argc, argv).options(desc).positional(pos_desc).run(), vm);
po::notify(vm);
// Help message