From 2de3045b2500824241ade4080cd9c026c84f2690 Mon Sep 17 00:00:00 2001 From: winlin Date: Tue, 30 Apr 2019 08:53:51 +0800 Subject: [PATCH] Remove noisy informations. --- trunk/src/app/srs_app_config.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index c70cdb80f..326ea2071 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -3433,19 +3433,16 @@ srs_error_t SrsConfig::parse_argv(int& i, char** argv) void SrsConfig::print_help(char** argv) { printf( - RTMP_SIG_SRS_SERVER RTMP_SIG_SRS_URL "\n" - "License: " RTMP_SIG_SRS_LICENSE "\n" - "Build: " SRS_AUTO_BUILD_DATE " Configuration:" SRS_AUTO_USER_CONFIGURE "\n" - "Features:" SRS_AUTO_CONFIGURE "\n""\n" + RTMP_SIG_SRS_SERVER ", " RTMP_SIG_SRS_URL ", licensed under " RTMP_SIG_SRS_LICENSE + ", built at " SRS_AUTO_BUILD_DATE ", configured by " SRS_AUTO_USER_CONFIGURE + ", which means " SRS_AUTO_CONFIGURE "\n""\n" "Usage: %s [-h?vVgG] [[-t] -c ]\n" - "\n" "Options:\n" " -?, -h : show this help and exit(0)\n" " -v, -V : show version and exit(0)\n" " -g, -G : show server signature and exit(0)\n" " -t : test configuration file, exit(error_code).\n" " -c filename : use configuration file for SRS\n" - "\n" "For example:\n" " %s -v\n" " %s -t -c " SRS_CONF_DEFAULT_COFNIG_FILE "\n"