From c849a33e2d76a4349136ab874b977599786789e2 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 14 May 2015 21:02:38 +0200 Subject: [PATCH] added short usage description --- python/sciebo_shares.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/python/sciebo_shares.py b/python/sciebo_shares.py index 5637edd..39bb54e 100644 --- a/python/sciebo_shares.py +++ b/python/sciebo_shares.py @@ -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) \ No newline at end of file + check_shares(oc, shares)