diff options
author | Yaohan Chen <yaohan.chen@gmail.com> | 2014-04-01 12:58:14 -0400 |
---|---|---|
committer | Yaohan Chen <yaohan.chen@gmail.com> | 2014-04-01 12:58:14 -0400 |
commit | fdf038fddf458702d670ad204eba769b41b10903 (patch) | |
tree | 98f8f0a09a2c12815e50b7bd4499dcec64d91dea /hib-dlagent | |
parent | fff04d5a4aa157bb2ca6c259dd191eac51b62951 (diff) | |
download | hib-dlagent-fdf038fddf458702d670ad204eba769b41b10903.tar.gz hib-dlagent-fdf038fddf458702d670ad204eba769b41b10903.zip |
Add an option to turn on logging
Diffstat (limited to 'hib-dlagent')
-rwxr-xr-x | hib-dlagent | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hib-dlagent b/hib-dlagent index 9dda7dd..79c406d 100755 --- a/hib-dlagent +++ b/hib-dlagent @@ -45,6 +45,7 @@ Options: -S <dir> Directory where PhantomJS scripts are located. -c <dir> Directory where configuration files are located. -j <options> Additional options passed to PhantomJS + -l Turn on logging If you specify -u, then all of that account's bundles are searched. If a key is associated with a HIB account then you must use -u/-p, since that key only works @@ -99,7 +100,7 @@ main() { exit 1 fi - while getopts "hd:k:o:p:P:su:S:c:j:" opt; do + while getopts "hd:k:o:p:P:su:S:c:j:l" opt; do case $opt in \?) exit 1 @@ -138,6 +139,9 @@ main() { j) PHANTOM_JS_OPTIONS="$OPTARG" ;; + l) + export LOG=1 + ;; esac done |