From cd7c138d8baeecb3e30b873ed554eab2f2500640 Mon Sep 17 00:00:00 2001 From: Egor Kislitsyn Date: Thu, 10 Mar 2016 21:25:35 +0700 Subject: [PATCH] Fix typo --- lib/actions/FunctionCreate.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/actions/FunctionCreate.js b/lib/actions/FunctionCreate.js index adef5ca6d..0a2e34cf0 100644 --- a/lib/actions/FunctionCreate.js +++ b/lib/actions/FunctionCreate.js @@ -7,7 +7,8 @@ * - generates function structure based on runtime * * Event Options: - * - sPath: (String) The relative path of the function from project root + * - path: (String) The relative path of the function from project root + * - runtime: (String) The function runtime. By default: `nodejs`. */ module.exports = function(SPlugin, serverlessPath) { @@ -48,7 +49,7 @@ usage: serverless function create `, { option: 'runtime', shortcut: 'r', - description: 'The function runtime. Be default: `nodejs`.' + description: 'The function runtime. By default: `nodejs`.' } ], parameters: [