Commit 9133387e authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

gnt-debug: Use constants for iallocator direction


Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 63fb7526
......@@ -553,8 +553,8 @@ commands = {
" containing a list of serialized opcodes"),
'allocator': (
TestAllocator, [ArgUnknown(min=1)],
[cli_option("--dir", dest="direction",
default="in", choices=["in", "out"],
[cli_option("--dir", dest="direction", default=constants.IALLOCATOR_DIR_IN,
choices=list(constants.VALID_IALLOCATOR_DIRECTIONS),
help="Show allocator input (in) or allocator"
" results (out)"),
IALLOCATOR_OPT,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment