def __init__(self):
    super(BucketCompact, self).__init__()
    self.parser.prog = 'couchbase-cli bucket-compact'
    group = self.parser.add_argument_group('Bucket compaction options')
    group.add_argument('--bucket', dest='bucket_name', metavar='<name>', help='The name of bucket to compact')
    group.add_argument('--data-only', dest='data_only', action='store_true', help='Only compact the data files')
    group.add_argument('--view-only', dest='view_only', action='store_true', help='Only compact the view files')
def __init__(self):
    super(BucketCompact, self).__init__()
    self.parser.prog = 'couchbase-cli bucket-compact'
    group = self.parser.add_argument_group('Bucket compaction options')
    group.add_argument('--bucket', dest='bucket_name', metavar='<name>', help='The name of bucket to compact')
    group.add_argument('--data-only', dest='data_only', action='store_true', help='Only compact the data files')
    group.add_argument('--view-only', dest='view_only', action='store_true', help='Only compact the view files')