Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update bin/cli.js

Passhash support for cli
  • Loading branch information...
commit bf55f62dac6a2e0edd449bd06936d84e48c67958 1 parent c438962
@mlamp mlamp authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/cli.js
View
4 bin/cli.js
@@ -68,7 +68,7 @@ if (api[argv._[0]]) {
process.exit(1)
}
-var trakt = new Trakt({username: argv.user, password: argv.pass});
+var trakt = new Trakt({username: argv.user, password: argv.pass, pass_hash: argv.passhash});
trakt.on('error', function(err) {
console.log("Trakt error: " + err.message)
@@ -103,4 +103,4 @@ function showHelp() {
console.log(" $ trakt -u username -p password account settings")
console.log("\t- Fetches users settings")
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.