Refer to device uuids in command help

Currently the CLI asks for a device "name" on device options while it
actually needs a "uuid".

Fixes: https://github.com/resin-io/resin-cli/issues/309
This commit is contained in:
Juan Cruz Viotti 2016-01-28 09:10:11 -04:00
parent eaa1a798c5
commit 6c677fe8cd
2 changed files with 4 additions and 4 deletions

View File

@ -41,13 +41,13 @@ limitations under the License.
exports.optionalDevice = { exports.optionalDevice = {
signature: 'device', signature: 'device',
parameter: 'device', parameter: 'device',
description: 'device name', description: 'device uuid',
alias: 'd' alias: 'd'
}; };
exports.booleanDevice = { exports.booleanDevice = {
signature: 'device', signature: 'device',
description: 'device name', description: 'device',
boolean: true, boolean: true,
alias: 'd' alias: 'd'
}; };

View File

@ -35,12 +35,12 @@ exports.application = _.defaults
exports.optionalDevice = exports.optionalDevice =
signature: 'device' signature: 'device'
parameter: 'device' parameter: 'device'
description: 'device name' description: 'device uuid'
alias: 'd' alias: 'd'
exports.booleanDevice = exports.booleanDevice =
signature: 'device' signature: 'device'
description: 'device name' description: 'device'
boolean: true boolean: true
alias: 'd' alias: 'd'