Revision 70691395 tools/snf-admin
b/tools/snf-admin | ||
---|---|---|
307 | 307 |
|
308 | 308 |
|
309 | 309 |
def print_categories(exe, categories): |
310 |
print 'Usage: %s <category> <command>' % exe |
|
310 |
print 'Usage: %s <category> <command> [args]' % exe
|
|
311 | 311 |
|
312 | 312 |
print 'Categories:' |
313 | 313 |
for category in sorted(categories): |
314 | 314 |
print ' %s' % category |
315 | 315 |
|
316 | 316 |
def print_commands(exe, commands): |
317 |
print 'Usage: %s <command>' % exe |
|
317 |
print 'Usage: %s <command> [args]' % exe
|
|
318 | 318 |
|
319 | 319 |
print 'Commands:' |
320 | 320 |
for command, cls in sorted(commands.items()): |
Also available in: Unified diff