command-line: add "rm", and tidy-up variable names, and make it so "allmydata-tahoe spam" prints a usage message instead of returning silently

This commit is contained in:
Zooko O'Whielacronx
2007-08-17 13:23:16 -07:00
parent e554962ac3
commit a12ef1ae82
7 changed files with 125 additions and 24 deletions

View File

@ -49,6 +49,8 @@ def runner(argv, run_by_human=True, stdout=sys.stdout, stderr=sys.stderr):
rc = debug.dispatch[command](so, stdout, stderr)
elif command in cli.dispatch:
rc = cli.dispatch[command](so, stdout, stderr)
else:
raise usage.UsageError()
return rc