]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Change logger.pl host flag to -H from -h (conflicted w/ -h for help); add -H/--host...
authorMichael S Collins <msc@freeswitch.org>
Wed, 23 Mar 2011 04:31:35 +0000 (21:31 -0700)
committerMichael S Collins <msc@freeswitch.org>
Wed, 23 Mar 2011 04:31:35 +0000 (21:31 -0700)
libs/esl/perl/logger.pl

index c2f8d6c25786c926f02536e86e7b64f4277a8ffc..d26e8f9fbc13ee1ba05dffca3ab2ab2d90e52000 100644 (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$') ||