1#!/usr/bin/env python
2from __future__ import division
3import re, sys
4
5def usage():
6 print '''\
7Usage: %s [-E] [-F] [-d <db> ] [-g <get> ] [-h <host>] [-p]
8 [-s <system>] [-r <runs> ] [-u <username>] <command> [command args]
--- 235 unchanged lines hidden (view full) ---
244 if len(args):
245 raise CommandException
246 for o,a in opts:
247 if o == '-u':
248 user = a
249 info.source.listRuns(user)
250 return
251
252 if command == 'stats':
253 if len(args) == 0:
254 info.source.listStats()
255 elif len(args) == 1:
256 info.source.listStats(args[0])
257 else:
258 raise CommandException
259
--- 433 unchanged lines hidden ---
2from __future__ import division
3import re, sys
4
5def usage():
6 print '''\
7Usage: %s [-E] [-F] [-d <db> ] [-g <get> ] [-h <host>] [-p]
8 [-s <system>] [-r <runs> ] [-u <username>] <command> [command args]
--- 235 unchanged lines hidden (view full) ---
244 if len(args):
245 raise CommandException
246 for o,a in opts:
247 if o == '-u':
248 user = a
249 info.source.listRuns(user)
250 return
251
252 if command == 'stats':
253 if len(args) == 0:
254 info.source.listStats()
255 elif len(args) == 1:
256 info.source.listStats(args[0])
257 else:
258 raise CommandException
259
--- 433 unchanged lines hidden ---