Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ap): use 'password' option instead of 'pass'
Browse files Browse the repository at this point in the history
HipsterBrown committed Sep 1, 2016
1 parent 8d00937 commit 2354828
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions bin/tessel-2.js
Original file line number Diff line number Diff line change
@@ -546,17 +546,17 @@ makeCommand('adhoc')
})
.option('security', {
abbr: 's',
help: 'Encryption to use on network (i.e. wep, psk, psk2, wpa, wpa2).'
help: 'Encryption used on network (i.e. wep, psk, psk2, wpa, wpa2).'
})
.option('off', {
flag: true,
help: 'Disable the access point'
help: 'Disable the adhoc network'
})
.option('on', {
flag: true,
help: 'Enable the access point'
help: 'Enable the adhoc network'
})
.help('Configure the Tessel as an access point');
.help('Configure the Tessel as an adhoc network');

makeCommand('root')
.callback(options => {
2 changes: 1 addition & 1 deletion lib/tessel/access-point.js
Original file line number Diff line number Diff line change
@@ -102,7 +102,7 @@ Tessel.prototype.getAccessPointInfo = function() {

Tessel.prototype.createAccessPoint = function(opts) {
var ssid = opts.ssid;
var password = opts.pass;
var password = opts.password;
var security = opts.security;
var mode = opts.mode;
var status = 'Created Access Point successfully. ';

0 comments on commit 2354828

Please sign in to comment.