From 99796d4f5586b66f117fdb1218f70fb2e533dedf Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 31 Mar 2015 14:00:40 -0400 Subject: [PATCH] feature(cloudcmd) rendy -> %s --- bin/cloudcmd.js | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/bin/cloudcmd.js b/bin/cloudcmd.js index 3cf6470c..ed78a849 100755 --- a/bin/cloudcmd.js +++ b/bin/cloudcmd.js @@ -10,11 +10,8 @@ DIR_SERVER = DIR_LIB + 'server/', config = require(DIR_SERVER + 'config'), - rendy = require('rendy'), createPass = require(DIR_SERVER + 'password'), - HOME_PAGE = 'General help using Cloud Commander: <{{ url }}>', - argv = process.argv, args = require('minimist')(argv.slice(2), { string: [ @@ -127,20 +124,16 @@ function help() { var bin = require('../json/bin'), usage = 'Usage: cloudcmd [options]', - - site = rendy(HOME_PAGE, { - url: Info.homepage - }); + url = Info.homepage; console.log(usage); console.log('Options:'); Object.keys(bin).forEach(function(name) { - var line = ' ' + name + ' ' + bin[name]; - console.log(line); + console.log(' %s %s', name, bin[name]); }); - console.log('\n' + site); + console.log('\nGeneral help using Cloud Commander: <%s>', url); } function repl() {