resin build: fix mismatch in command line argument signature

The command line arg was taking `devicetype`, but the rest of the code
uses `deviceType`. Thus it was impossible to specify a device type
in practice to build a `Dockerfile.template`.

Change-type: patch
Signed-off-by: Gergely Imreh <imrehg@gmail.com>
This commit is contained in:
Gergely Imreh 2017-05-29 13:59:25 +01:00
parent ec386b807f
commit 974be5cc13
No known key found for this signature in database
GPG Key ID: 2159E9E41D38A9EB
4 changed files with 7 additions and 3 deletions

View File

@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- Fixed command line arguments for `resin build`
## [5.10.1] - 2017-05-22
### Fixed

View File

@ -31,7 +31,7 @@ module.exports = {
description: 'The architecture to build for',
alias: 'A'
}, {
signature: 'devicetype',
signature: 'deviceType',
parameter: 'deviceType',
description: 'The type of device this build is for',
alias: 'd'

View File

@ -1304,7 +1304,7 @@ Examples:
The architecture to build for
#### --devicetype, -d &#60;deviceType&#62;
#### --deviceType, -d &#60;deviceType&#62;
The type of device this build is for

View File

@ -45,7 +45,7 @@ module.exports =
alias: 'A'
},
{
signature: 'devicetype'
signature: 'deviceType'
parameter: 'deviceType'
description: 'The type of device this build is for'
alias: 'd'