]> git.decadent.org.uk Git - dak.git/commitdiff
dak/acl.py: update documentation
authorAnsgar Burchardt <ansgar@debian.org>
Thu, 20 Sep 2012 08:32:58 +0000 (10:32 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Thu, 20 Sep 2012 08:32:58 +0000 (10:32 +0200)
dak/acl.py

index 075c722b5842bfd05f3b3269818480369c115a87..568e21e46b6c28990c24e6e54f1eb8335068d5ae 100644 (file)
@@ -23,9 +23,17 @@ from daklib.config import Config
 from daklib.dbconn import DBConn, Fingerprint, Uid, ACL
 
 def usage():
-    print """Usage: dak acl set-fingerprints <acl-name>
+    print """Usage:
+  dak acl set-fingerprints <acl-name>
+  dak acl export-per-source <acl-name>
 
-Reads list of fingerprints from stdin and sets the ACL <acl-name> to these.
+  set-fingerprints:
+    Reads list of fingerprints from stdin and sets the ACL <acl-name> to these.
+    Accepted input formats are "uid:<uid>", "name:<name>" and
+    "fpr:<fingerprint>".
+
+  export-per-source:
+    Export per source upload rights for ACL <acl-name>.
 """
 
 def get_fingerprint(entry, session):