From: Ansgar Burchardt Date: Thu, 20 Sep 2012 08:32:58 +0000 (+0200) Subject: dak/acl.py: update documentation X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc107ed3ee7b9d932514b4ea91a50074610d0ce3;p=dak dak/acl.py: update documentation --- diff --git a/dak/acl.py b/dak/acl.py index 075c722b..568e21e4 100644 --- a/dak/acl.py +++ b/dak/acl.py @@ -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 + print """Usage: + dak acl set-fingerprints + dak acl export-per-source -Reads list of fingerprints from stdin and sets the ACL to these. + set-fingerprints: + Reads list of fingerprints from stdin and sets the ACL to these. + Accepted input formats are "uid:", "name:" and + "fpr:". + + export-per-source: + Export per source upload rights for ACL . """ def get_fingerprint(entry, session):