From cb9ddb3693cd9f12eb24eaab831dc13e2ec22a3d Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Wed, 13 Jan 2021 16:14:56 +0100 Subject: [PATCH] Fix the count of input parameters in streamer --- sf-stream/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sf-stream/src/main.cpp b/sf-stream/src/main.cpp index 45cc85d..dbd588f 100644 --- a/sf-stream/src/main.cpp +++ b/sf-stream/src/main.cpp @@ -15,7 +15,7 @@ using namespace stream_config; int main (int argc, char *argv[]) { - if (argc != 1) { + if (argc != 2) { cout << endl; cout << "Usage: sf_stream [detector_json_filename]" << endl; cout << "\tdetector_json_filename: detector config file path." << endl;