From 01e5cb9202f105ab8b8b974abcb8eece98699024 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Wed, 7 Jul 2021 13:55:18 +0200 Subject: [PATCH] Corrected n_arguments parameter in main scripts --- std-det-writer/src/main.cpp | 2 +- std-stream-send/src/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/std-det-writer/src/main.cpp b/std-det-writer/src/main.cpp index c836d64..f6cacc9 100644 --- a/std-det-writer/src/main.cpp +++ b/std-det-writer/src/main.cpp @@ -18,7 +18,7 @@ using namespace live_writer_config; int main (int argc, char *argv[]) { - if (argc != 2) { + if (argc != 3) { cout << endl; cout << "Usage: std-det-writer [detector_json_filename]" " [bit_depth]" << endl; diff --git a/std-stream-send/src/main.cpp b/std-stream-send/src/main.cpp index 4f21a43..e1894f7 100644 --- a/std-stream-send/src/main.cpp +++ b/std-stream-send/src/main.cpp @@ -13,7 +13,7 @@ using namespace buffer_config; int main (int argc, char *argv[]) { - if (argc != 3) { + if (argc != 4) { cout << endl; cout << "Usage: std_stream_send [detector_json_filename]" " [bit_depth] [stream_address]" << endl;