--- a/test_opts.py Mon Jul 13 19:30:05 2009 +0300
+++ b/test_opts.py Sat Jul 18 00:01:47 2009 +0300
@@ -9,7 +9,7 @@
('d', 'daemonize', False, 'daemonize process'),
('', 'pid-file', '', 'name of file to write process ID to')]
-@command(opts, usage='%prog [-l HOST] DIR')
+@command(opts, usage='[-l HOST] DIR')
def main(dirname, **opts):
'''This is some command
@@ -17,7 +17,7 @@
'''
print opts
-@command(usage='%prog [-l HOST] DIR')
+@command(usage='[-l HOST] DIR')
def another(dirname,
listen=('l', 'localhost', 'ip to listen on'),
port=('p', 8000, 'port to listen on'),