From f42298e264a46bb939112779251c2be91138a439 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Wed, 30 Sep 2020 11:38:39 +0200 Subject: [PATCH] Improve attribute reading from sf_stream --- sf-stream/src/main.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sf-stream/src/main.cpp b/sf-stream/src/main.cpp index 8adb1f3..987ee42 100644 --- a/sf-stream/src/main.cpp +++ b/sf-stream/src/main.cpp @@ -15,11 +15,9 @@ using namespace stream_config; int main (int argc, char *argv[]) { - if (argc != 2) { - cout << endl; - cout << "Usage: sf_stream "; - cout << " [detector_json_filename]"; + if (argc != 1) { cout << endl; + cout << "Usage: sf_stream [detector_json_filename]" << endl; cout << "\tdetector_json_filename: json file with the configuration " "of the detector." << endl; cout << endl;