diff --git a/doc/cli.markdown b/doc/cli.markdown index 9151bbd0..46ebb009 100644 --- a/doc/cli.markdown +++ b/doc/cli.markdown @@ -1012,7 +1012,7 @@ custom device key - note that this is only supported on ResinOS 2.0.3+ #### --version <version> -a ResinOS version +a resinOS version #### --config <config> @@ -1153,7 +1153,7 @@ Examples: #### --version <version> -a ResinOS version +a resinOS version #### --application, -a, --app <application> diff --git a/lib/actions/command-options.coffee b/lib/actions/command-options.coffee index de721f81..5ff16989 100644 --- a/lib/actions/command-options.coffee +++ b/lib/actions/command-options.coffee @@ -46,7 +46,7 @@ exports.optionalDeviceApiKey = exports.optionalOsVersion = signature: 'version' - description: 'a ResinOS version' + description: 'a resinOS version' parameter: 'version' exports.booleanDevice = diff --git a/lib/utils/config.ts b/lib/utils/config.ts index 8eebb655..a2f41031 100644 --- a/lib/utils/config.ts +++ b/lib/utils/config.ts @@ -27,7 +27,7 @@ export function generateBaseConfig( ) { options = _.mapValues(options, function(value, key) { if (key === 'appUpdatePollInterval') { - return value * 60 * 1000; + return options[key]! * 60 * 1000; } else { return value; }