@@ -62,10 +62,10 @@ int main(int ac, char *av[])
6262 {
6363 po::options_description desc (" Allowed options" );
6464 desc.add_options ()
65- (" help,h" , " produce help message" )
66- (" file,f" , po::value<string>(), " read input from a file" )
67- (" delay,d" , po::value<int >(&delay)->default_value (1 ), " delay time between re-calculating" )
68- (" precision,p" , po::value<int >(&precision)->default_value (2 ), " control the precision parameter" )
65+ (" help,h" , " Produce help message" )
66+ (" file,f" , po::value<string>(), " Eead input from a file" )
67+ (" delay,d" , po::value<int >(&delay)->default_value (1 ), " Delay time between re-calculating" )
68+ (" precision,p" , po::value<int >(&precision)->default_value (2 ), " Control the precision parameter" )
6969 ;
7070
7171 po::positional_options_description p;
@@ -78,8 +78,8 @@ int main(int ac, char *av[])
7878
7979 if (vm.count (" help" ))
8080 {
81- cout << " summarizer - Summarize a stream of numbers by printing some aggregation functions every specified interval\n " ;
82- cout << " Usage: summarizer [file_name] [options]\n " ;
81+ cout << " summarize - Summarize a stream of numbers by printing some aggregation functions every specified interval\n " ;
82+ cout << " Usage: summarize [file_name] [options]\n " ;
8383 cout << desc << " \n " ;
8484 return 0 ;
8585 }
0 commit comments