mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 11:21:52 +00:00
Refine usage.
This commit is contained in:
parent
2de3045b25
commit
b02527dec0
1 changed files with 6 additions and 6 deletions
|
@ -3436,13 +3436,13 @@ void SrsConfig::print_help(char** argv)
|
|||
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 <filename>]\n"
|
||||
"Usage: %s <-h?vVgG>|<[-t] -c filename>\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"
|
||||
" -?, -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 with error code(0 for success).\n"
|
||||
" -c filename : Use config file to start server.\n"
|
||||
"For example:\n"
|
||||
" %s -v\n"
|
||||
" %s -t -c " SRS_CONF_DEFAULT_COFNIG_FILE "\n"
|
||||
|
|
Loading…
Reference in a new issue