5 from wizard import command, user
8 options, args = parse_args(argv, baton)
9 dir = os.path.abspath(args[0]) if args else os.getcwd()
15 def parse_args(argv, baton):
16 usage = """usage: %prog quota [DIR]
18 Lists the used quota in bytes for a directory. If
19 a directory is not specified, uses the current working
26 in bytes. Returns an exit code of 1 if quota could
28 parser = command.WizardOptionParser(usage)
29 options, args = parser.parse_all(argv)
31 parser.error("too many arguments")