diff --git a/README.md b/README.md index 70fb6af..c02cc1a 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ java -jar transcript_tether.jar [-c ] [-i ] [-l ] [-o ] -t < ``` Examples: ``` -java -jar transcript_tether-x.y.z.jar -v 'test1.mp4' -t 'test1.txt' -c 'client_secret.json' -java -jar transcript_tether-x.y.z.jar -v 'test2.mp4' -t 'test2.txt' -java -jar transcript_tether-x.y.z.jar -i 'youtubeID' -t 'test3.txt' +java -jar transcript_tether-x.y.z.jar -v test1.mp4 -t test1.txt -c client_secret.json +java -jar transcript_tether-x.y.z.jar -v test2.mp4 -t test2.txt +java -jar transcript_tether-x.y.z.jar -i youtubeID -t test3.txt ``` ## FAQ diff --git a/build.gradle b/build.gradle index c46aff1..3ba7fea 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'application' mainClassName = 'ca.carleton.gcrc.tetherScript.Command' sourceCompatibility = 1.7 targetCompatibility = 1.7 -version = '1.0.1' +version = '1.0.2' task exec (type: Jar) { manifest { diff --git a/src/main/java/ca/carleton/gcrc/tetherScript/Auth.java b/src/main/java/ca/carleton/gcrc/tetherScript/Auth.java index 6c2e133..fe56aa5 100644 --- a/src/main/java/ca/carleton/gcrc/tetherScript/Auth.java +++ b/src/main/java/ca/carleton/gcrc/tetherScript/Auth.java @@ -31,6 +31,7 @@ */ public class Auth { + /** * Define a global instance of the HTTP transport. */ @@ -56,6 +57,8 @@ public class Auth { */ public static Credential authorize( String client_secret_json, String credentialDatastore) throws IOException { + final java.util.logging.Logger buggyLogger = java.util.logging.Logger.getLogger(FileDataStoreFactory.class.getName()); + buggyLogger.setLevel(java.util.logging.Level.SEVERE); // Load client secrets. if(!isSameCredentialJson(client_secret_json, ApiExample.CREDENTIALFILE_INTERNAL)) {