def main():
    """ Main program. """
    args = command.parse_args()

    with btrfs.FileSystem(args.dir) as mount:
        # mount.rescanSizes()

        fInfo = mount.FS_INFO()
        pprint.pprint(fInfo)

        vols = mount.subvolumes

        # for dev in mount.devices:
        #     pprint.pprint(dev)

        for vol in vols:
            print(vol)

    return 0