From 7ab79686f7081b0e8a5061248b018fc1282375b4 Mon Sep 17 00:00:00 2001 From: Oswald de Bruin Date: Wed, 19 Jun 2013 16:15:30 +0200 Subject: [PATCH] Cleared up some messages --- src/analysers/rtmp_analyser.cpp | 2 -- src/controller/controller.cpp | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/analysers/rtmp_analyser.cpp b/src/analysers/rtmp_analyser.cpp index 02a0c29a..b9c193bc 100644 --- a/src/analysers/rtmp_analyser.cpp +++ b/src/analysers/rtmp_analyser.cpp @@ -120,7 +120,6 @@ namespace Analysers { if (Detail & (DETAIL_EXPLICIT | DETAIL_RECONSTRUCT)){ F.ChunkLoader(next); if (Detail & DETAIL_EXPLICIT){ - fprintf(stderr, "Received %i bytes audio data\n", next.len); std::cerr << "Got a " << F.len << " bytes " << F.tagType() << " FLV tag of time " << F.tagTime() << "." << std::endl; } if (Detail & DETAIL_RECONSTRUCT){ @@ -132,7 +131,6 @@ namespace Analysers { if (Detail & (DETAIL_EXPLICIT | DETAIL_RECONSTRUCT)){ F.ChunkLoader(next); if (Detail & DETAIL_EXPLICIT){ - fprintf(stderr, "Received %i bytes video data\n", next.len); std::cerr << "Got a " << F.len << " bytes " << F.tagType() << " FLV tag of time " << F.tagTime() << "." << std::endl; } if (Detail & DETAIL_RECONSTRUCT){ diff --git a/src/controller/controller.cpp b/src/controller/controller.cpp index 138d540c..6ffd0205 100644 --- a/src/controller/controller.cpp +++ b/src/controller/controller.cpp @@ -158,7 +158,7 @@ int main(int argc, char ** argv){ stored_interface["default"] = "0.0.0.0"; } JSON::Value stored_user = JSON::fromString( - "{\"long\":\"username\", \"short\":\"u\", \"arg\":\"string\", \"help\":\"Username to drop privileges to, or root to not drop provileges.\"}"); + "{\"long\":\"username\", \"short\":\"u\", \"arg\":\"string\", \"help\":\"Username to transfer privileges to, default is root.\"}"); stored_user["default"] = Controller::Storage["config"]["controller"]["username"]; if ( !stored_user["default"]){ stored_user["default"] = "root"; @@ -169,7 +169,7 @@ int main(int argc, char ** argv){ conf.addOption("username", stored_user); conf.addOption("daemonize", JSON::fromString( - "{\"long\":\"daemon\", \"short\":\"d\", \"default\":1, \"long_off\":\"nodaemon\", \"short_off\":\"n\", \"help\":\"Whether or not to daemonize the process after starting.\"}")); + "{\"long\":\"daemon\", \"short\":\"d\", \"default\":1, \"long_off\":\"nodaemon\", \"short_off\":\"n\", \"help\":\"Turns deamon mode on (-d) or off (-n). -d (default) runs quietly in background, -n enables verbose in foreground.\"}")); conf.addOption("account", JSON::fromString( "{\"long\":\"account\", \"short\":\"a\", \"arg\":\"string\" \"default\":\"\", \"help\":\"A username:password string to create a new account with.\"}"));