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;