Fixed bugs in t_cmd_fnc.
Fixed bugs in t_cmd_fnc.

Was not processing args correctly.

Change-Id: I660edea22a642c63922b9fc358bd2effa1e2a343
Signed-off-by: Michael Walsh <10404802c7de463f402c4a18638106ca1b12ef61@us.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation