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

This commit is contained in:
Michael S Collins 2011-03-22 21:31:35 -07:00
parent f7c5a66f1e
commit 73ca862cb0
1 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ FreeSWITCH Logger Utility
USAGE:
-h --help This help
-H --host Choose host
-p --port <port> Choose port
-P -pass <pass> Choose password
-f --file <file> Output file
@ -47,7 +48,7 @@ for($i = 0; $i < $argc; $i++) {
exit;
}
if (! (parse($i, $host, '^-h$|^--host$') ||
if (! (parse($i, $host, '^-H$|^--host$') ||
parse($i, $port, '^-p$|^--port$') ||
parse($i, $pass, '^-P$|^--pass$') ||
parse($i, $file, '^-f$|^--file$') ||