mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-31 16:36:24 +00:00
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:
parent
eaa1a798c5
commit
6c677fe8cd
@ -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'
|
||||||
};
|
};
|
||||||
|
@ -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'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user