1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

Remove noisy informations.

This commit is contained in:
winlin 2019-04-30 08:53:51 +08:00
parent 6dbe79ad02
commit 2de3045b25

View file

@ -3433,19 +3433,16 @@ srs_error_t SrsConfig::parse_argv(int& i, char** argv)
void SrsConfig::print_help(char** argv) void SrsConfig::print_help(char** argv)
{ {
printf( printf(
RTMP_SIG_SRS_SERVER RTMP_SIG_SRS_URL "\n" RTMP_SIG_SRS_SERVER ", " RTMP_SIG_SRS_URL ", licensed under " RTMP_SIG_SRS_LICENSE
"License: " RTMP_SIG_SRS_LICENSE "\n" ", built at " SRS_AUTO_BUILD_DATE ", configured by " SRS_AUTO_USER_CONFIGURE
"Build: " SRS_AUTO_BUILD_DATE " Configuration:" SRS_AUTO_USER_CONFIGURE "\n" ", which means " SRS_AUTO_CONFIGURE "\n""\n"
"Features:" SRS_AUTO_CONFIGURE "\n""\n"
"Usage: %s [-h?vVgG] [[-t] -c <filename>]\n" "Usage: %s [-h?vVgG] [[-t] -c <filename>]\n"
"\n"
"Options:\n" "Options:\n"
" -?, -h : show this help and exit(0)\n" " -?, -h : show this help and exit(0)\n"
" -v, -V : show version and exit(0)\n" " -v, -V : show version and exit(0)\n"
" -g, -G : show server signature and exit(0)\n" " -g, -G : show server signature and exit(0)\n"
" -t : test configuration file, exit(error_code).\n" " -t : test configuration file, exit(error_code).\n"
" -c filename : use configuration file for SRS\n" " -c filename : use configuration file for SRS\n"
"\n"
"For example:\n" "For example:\n"
" %s -v\n" " %s -v\n"
" %s -t -c " SRS_CONF_DEFAULT_COFNIG_FILE "\n" " %s -t -c " SRS_CONF_DEFAULT_COFNIG_FILE "\n"