diff --git a/src/bees.cc b/src/bees.cc index a79d1fc..9458c91 100644 --- a/src/bees.cc +++ b/src/bees.cc @@ -598,7 +598,7 @@ bees_main(int argc, char *argv[]) THROW_CHECK1(invalid_argument, argc, argc >= 0); // Defaults - int chatter_prefix_timestamp = 1; + bool chatter_prefix_timestamp = true; // Parse options int c; @@ -617,10 +617,10 @@ bees_main(int argc, char *argv[]) switch (c) { case 'T': - chatter_prefix_timestamp = 0; + chatter_prefix_timestamp = false; break; case 't': - chatter_prefix_timestamp = 1; + chatter_prefix_timestamp = true; break; case 'h': do_cmd_help(argv); @@ -629,7 +629,7 @@ bees_main(int argc, char *argv[]) } } - ChatterTimestamp cts(chatter_prefix_timestamp); + Chatter::enable_timestamp(chatter_prefix_timestamp); // Create a context and start crawlers bool did_subscription = false;