Hi there,
Just uploaded version 0.2 of lsgvt to github.
I have added commandline parsing and a few options:
# lsgvt -h
Usage: lsgvt [options] [volname..]
This program lists the topology of Gluster volumes
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-s SPACING, --spacing=SPACING
The spacing between the leaves, defaults to 1
-w WIDTH, --width=WIDTH
The width of the leaves, defaults to 2
-p VOLPATH, --path=VOLPATH
Path to source file, defaults to
/var/lib/glusterd/vols
-a, --ascii Use ascii characters to draw lines instead of unicode
Again, give it try and let me know if you have questions
Cheers,
Fred