diff --git a/lib/actions/help.coffee b/lib/actions/help.coffee index 9693e273..45b69788 100644 --- a/lib/actions/help.coffee +++ b/lib/actions/help.coffee @@ -15,7 +15,6 @@ limitations under the License. ### _ = require('lodash') -_.str = require('underscore.string') capitano = require('capitano') columnify = require('columnify') messages = require('../utils/messages') @@ -36,7 +35,7 @@ parse = (object) -> ] indent = (text) -> - text = _.map _.str.lines(text), (line) -> + text = _.map text.split('\n'), (line) -> return ' ' + line return text.join('\n') @@ -92,7 +91,7 @@ command = (params, options, done) -> if command.help? console.log("\n#{command.help}") else if command.description? - console.log("\n#{_.str.humanize(command.description)}") + console.log("\n#{_.capitalize(command.description)}") if not _.isEmpty(command.options) console.log('\nOptions:\n') diff --git a/package.json b/package.json index 7de46de4..f2c031d2 100644 --- a/package.json +++ b/package.json @@ -113,7 +113,6 @@ "stream-to-promise": "^2.2.0", "tmp": "0.0.31", "umount": "^1.1.6", - "underscore.string": "^3.2.2", "unzip2": "^0.2.5", "update-notifier": "^2.2.0" },