'Returns all the pieces that go into the usage line and returns
it as a list of strings.'

def collect_usage_pieces(self, ctx):

    rv = [self.options_metavar]
    for param in self.get_params(ctx):
        rv.extend(param.get_usage_pieces(ctx))
    return rv
