Implement generic CLI options->opcode updates
authorIustin Pop <iustin@google.com>
Tue, 9 Feb 2010 13:02:18 +0000 (14:02 +0100)
committerIustin Pop <iustin@google.com>
Thu, 11 Feb 2010 11:49:27 +0000 (12:49 +0100)
commit293ba2d8b9a8303b4dd82c0f71aa3fe3e243c52c
treee265bebd122be7ed6d189ef662932670570b4041
parentea34193f2996722db3c55c3f2911ec2dec466e19
Implement generic CLI options->opcode updates

This patch changes SubmitOpCode and SubmitOrSend such that we have a
single function that does generic CLI options to opcode attributes
function. This will allow, once all scripts pass the opts argument to
SubmitOpCode, to pass the debug parameter or the dry-run one to the LUs.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
lib/cli.py