some clarifying help docs on 'triton wait'

This commit is contained in:
Trent Mick 2015-08-31 11:13:39 -07:00
parent c63eb29600
commit da566100ab

View File

@ -87,12 +87,15 @@ function do_wait_instance(subcmd, opts, args, cb) {
do_wait_instance.aliases = ['wait']; do_wait_instance.aliases = ['wait'];
do_wait_instance.help = [ do_wait_instance.help = [
'Wait on 1 or more instances.', 'Wait on instances moving to given states.',
'', '',
'Usage:', 'Usage:',
' {{name}} wait <alias|id> [state]', ' {{name}} wait <name|id> [<states>]',
'', '',
'{{options}}' '{{options}}',
'Where "states" is a comma-separated list of target instance states,',
'by default "running,failed". In other words, "triton wait foo0" will',
'wait for instance "foo0" to complete provisioning.'
].join('\n'); ].join('\n');
do_wait_instance.options = [ do_wait_instance.options = [
{ {