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: [