aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/groups.py
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/examples/howto/groups.py')
-rw-r--r--lang/python/examples/howto/groups.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/python/examples/howto/groups.py b/lang/python/examples/howto/groups.py
index 67fd7838..e7adc440 100644
--- a/lang/python/examples/howto/groups.py
+++ b/lang/python/examples/howto/groups.py
@@ -25,6 +25,12 @@ from __future__ import absolute_import, division, unicode_literals
import subprocess
+"""
+Intended for use with other scripts.
+
+Usage: from groups import group_lines, group_lists
+"""
+
lines = subprocess.getoutput("gpgconf --list-options gpg").splitlines()
for i in range(len(lines)):