added short usage description

This commit is contained in:
Steffen Vogel 2015-05-14 21:02:38 +02:00
parent 0b9cd46506
commit c849a33e2d

View file

@ -1,3 +1,9 @@
# Usage:
# python sciebo_shares.py add < ids.txt
# python sciebo_shares.py list [admin]
# python sciebo_shares.py check
#
import owncloud
import requests
import re
@ -186,4 +192,4 @@ if __name__ == "__main__":
admin = (len(sys.argv) == 3) and (sys.argv[2] == 'admin')
list_shares(oc, shares, admin)
elif command == 'check':
check_shares(oc, shares)
check_shares(oc, shares)