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 = {
signature: 'device',
parameter: 'device',
description: 'device name',
description: 'device uuid',
alias: 'd'
};
exports.booleanDevice = {
signature: 'device',
description: 'device name',
description: 'device',
boolean: true,
alias: 'd'
};

View File

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