aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2013-12-15 10:30:13 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2013-12-15 10:31:08 +0200
commit310f9f22bf4965dfe921ccbf7d4ebaabd030aa98 (patch)
treea5e2729846b8adc7792c6fff6d7b03447cbde5e8
parentf6b24066f1ea8fdae18f49eab515feeee62be2d0 (diff)
downloadcrowd-tool-310f9f22bf4965dfe921ccbf7d4ebaabd030aa98.tar.gz
List commands in help.
-rwxr-xr-xcrowd-tool2
1 files changed, 1 insertions, 1 deletions
diff --git a/crowd-tool b/crowd-tool
index 8d35b7b..e45386f 100755
--- a/crowd-tool
+++ b/crowd-tool
@@ -48,7 +48,7 @@ def rest(uri, params):
if __name__ == "__main__":
logging.basicConfig()
- optparser = optparse.OptionParser(usage="%prog")
+ optparser = optparse.OptionParser(usage="%prog user|alises|group|usergroups|ismember")
optparser.add_option("-u", "--user", default="rest-test", help="Crowd username")
optparser.add_option("-p", "--passwd", help="Crowd password")
optparser.add_option("-P", "--ask-passwd", action="store_true", help="Ask Crowd password")