diff options
| -rwxr-xr-x | doc/ypmaplist.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/ypmaplist.py b/doc/ypmaplist.py index 1e22999..fb7b805 100755 --- a/doc/ypmaplist.py +++ b/doc/ypmaplist.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# +# There's no command-line client in yp-tools, but python provides a function. +# import nis for map in nis.maps(): print map |
