From d9e065e6cfc9ff95545993ba6d77d81f033c9044 Mon Sep 17 00:00:00 2001 From: Ashik K Date: Sun, 26 Mar 2023 10:26:58 +0200 Subject: [PATCH] Make number of records to fetch a command line argument. --- fetcher.cc | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/fetcher.cc b/fetcher.cc index 669eda7..d578e38 100644 --- a/fetcher.cc +++ b/fetcher.cc @@ -17,12 +17,13 @@ int main(int argc, char *argv[]) { std::string exbid, apikey; - if (argc !=5 ) { - std::cout<<"Usage: "< -k "< -k -e "<