From 1d6a8178bdaa728cc3b88194fe78ace5b0c8b6b0 Mon Sep 17 00:00:00 2001 From: Dave Eddy Date: Wed, 26 Aug 2015 02:00:26 -0400 Subject: [PATCH] style --- lib/do_delete_instance.js | 2 +- lib/do_startstop_instance.js | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/do_delete_instance.js b/lib/do_delete_instance.js index ba24839..443383b 100644 --- a/lib/do_delete_instance.js +++ b/lib/do_delete_instance.js @@ -80,7 +80,7 @@ do_delete_instance.help = [ ' {{name}} delete ', '', '{{options}}' -]; +].join('\n'); do_delete_instance.options = [ { names: ['help', 'h'], diff --git a/lib/do_startstop_instance.js b/lib/do_startstop_instance.js index 174e554..2401794 100644 --- a/lib/do_startstop_instance.js +++ b/lib/do_startstop_instance.js @@ -24,18 +24,18 @@ function do_startstop_instance(action) { f(' {{name}} %s ', action), f(''), f('{{options}}') - ]; + ].join('\n'); _do_startstop_instance.options = [ - { - names: ['help', 'h'], - type: 'bool', - help: 'Show this help.' - }, - { - names: ['wait', 'w'], - type: 'bool', - help: 'Block until desired state is reached.' - }, + { + names: ['help', 'h'], + type: 'bool', + help: 'Show this help.' + }, + { + names: ['wait', 'w'], + type: 'bool', + help: 'Block until desired state is reached.' + }, ]; return _do_startstop_instance;