Revision 3f1e065d lib/client/gnt_debug.py
b/lib/client/gnt_debug.py | ||
---|---|---|
553 | 553 |
], |
554 | 554 |
"<op_list_file...>", "Submits jobs built from json files" |
555 | 555 |
" containing a list of serialized opcodes"), |
556 |
'allocator': ( |
|
556 |
'iallocator': (
|
|
557 | 557 |
TestAllocator, [ArgUnknown(min=1)], |
558 | 558 |
[cli_option("--dir", dest="direction", default=constants.IALLOCATOR_DIR_IN, |
559 | 559 |
choices=list(constants.VALID_IALLOCATOR_DIRECTIONS), |
... | ... | |
595 | 595 |
"[--interval N]", "Show a list of locks in the master daemon"), |
596 | 596 |
} |
597 | 597 |
|
598 |
#: dictionary with aliases for commands |
|
599 |
aliases = { |
|
600 |
"allocator": "iallocator", |
|
601 |
} |
|
598 | 602 |
|
599 | 603 |
def Main(): |
600 |
return GenericMain(commands) |
|
604 |
return GenericMain(commands, aliases=aliases) |
Also available in: Unified diff