提交 73ca862c authored 作者: Michael S Collins's avatar Michael S Collins

Change logger.pl host flag to -H from -h (conflicted w/ -h for help); add -H/--host to usage

上级 f7c5a66f
...@@ -18,6 +18,7 @@ FreeSWITCH Logger Utility ...@@ -18,6 +18,7 @@ FreeSWITCH Logger Utility
USAGE: USAGE:
-h --help This help -h --help This help
-H --host Choose host
-p --port <port> Choose port -p --port <port> Choose port
-P -pass <pass> Choose password -P -pass <pass> Choose password
-f --file <file> Output file -f --file <file> Output file
...@@ -47,7 +48,7 @@ for($i = 0; $i < $argc; $i++) { ...@@ -47,7 +48,7 @@ for($i = 0; $i < $argc; $i++) {
exit; exit;
} }
if (! (parse($i, $host, '^-h$|^--host$') || if (! (parse($i, $host, '^-H$|^--host$') ||
parse($i, $port, '^-p$|^--port$') || parse($i, $port, '^-p$|^--port$') ||
parse($i, $pass, '^-P$|^--pass$') || parse($i, $pass, '^-P$|^--pass$') ||
parse($i, $file, '^-f$|^--file$') || parse($i, $file, '^-f$|^--file$') ||
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论