@@ -24,7 +24,7 @@ var program = require('commander');
2424
2525function assertPositionArg ( program , pos , arg ) {
2626 if ( program . args [ pos ] ) return ;
27- console . error ( 'Error: ' + arg + 'is required' ) ;
27+ console . error ( 'Error: ' + arg + ' is required' ) ;
2828 process . exit ( 1 ) ;
2929}
3030
@@ -34,9 +34,9 @@ function parseReuseCommand() {
3434 . option ( '-m, --member <memberAddr>, Address of member to reuse' )
3535 . option ( '-l, --limit <limit>, Parallelism limit' )
3636 . option ( '--tchannel-v1' )
37- . usage ( '[options] <coordinator >' ) ;
37+ . usage ( '[options] <hostport or bootstrapfile >' ) ;
3838 program . parse ( process . argv ) ;
39- assertPositionArg ( program , 0 , 'coordinator ' ) ;
39+ assertPositionArg ( program , 0 , 'hostport or bootstrapfile ' ) ;
4040
4141 return new commands . ReuseCommand (
4242 program . tchannelV1 ,
@@ -50,9 +50,9 @@ function parseStatusCommand() {
5050 program
5151 . description ( 'Status of members in ring' )
5252 . option ( '--tchannel-v1' )
53- . usage ( '[options] <coordinator >' ) ;
53+ . usage ( '[options] <hostport or bootstrapfile >' ) ;
5454 program . parse ( process . argv ) ;
55- assertPositionArg ( program , 0 , 'coordinator ' ) ;
55+ assertPositionArg ( program , 0 , 'hostport or bootstrapfile ' ) ;
5656
5757 return new commands . StatusCommand ( program . tchannelV1 , program . args [ 0 ] ) ;
5858}
@@ -62,9 +62,9 @@ function parsePartitionCommand() {
6262 . description ( 'Show partition information of a ring' )
6363 . option ( '--tchannel-v1' )
6464 . option ( '-q, --quiet' , 'Don\'t print headers' )
65- . usage ( '[options] <coordinatorOrFile >' ) ;
65+ . usage ( '[options] <hostport or bootstrapfile >' ) ;
6666 program . parse ( process . argv ) ;
67- assertPositionArg ( program , 0 , 'coordinatorOrFile ' ) ;
67+ assertPositionArg ( program , 0 , 'hostport or bootstrapfile ' ) ;
6868
6969 return new commands . PartitionCommand (
7070 program . tchannelV1 ,
0 commit comments