(ctx)
return formatter.getvalue().rstrip('\n')
Alternative, non-prefixed version of 'get_usage'.
Alternative, non-prefixed version of 'get_usage'.
Alternative non - prefixed version of get_usage .
def _get_usage(ctx):
    """Alternative, non-prefixed version of 'get_usage'."""
    formatter = ctx.make_formatter()
    pieces = ctx.command.collect_usage_pieces(ctx)
    formatter.write_usage(ctx.command_path, ' '.join(pieces), prefix='')
    return formatter.getvalue().rstrip('\n')
def _get_usage ( ctx ) : formatter = ctx . make_formatter ( ) pieces = ctx . command . collect_usage_pieces ( ctx ) formatter . write_usage ( ctx . command_path , ' ' . join ( pieces ) , prefix = '' ) return formatter . getvalue ( ) . rstrip ( '\n' )