[cli] change 'binary' arg to '-x' for consistency (#5543) (#5549)

This commit is contained in:
Jonathan Hui
2020-09-19 08:53:34 -07:00
committed by GitHub
parent 0628746701
commit 42d76a0a4e
7 changed files with 29 additions and 29 deletions
+5 -5
View File
@@ -193,25 +193,25 @@ set spawn_id $spawn_2
send "dataset mgmtgetcommand active \
activetimestamp pendingtimestamp masterkey networkname extpanid \
localprefix delaytimer panid channel \
binary 000102030405060708090a0b0e0f0c333435 \
-x 000102030405060708090a0b0e0f0c333435 \
address $addr\n"
expect "Done"
send "dataset mgmtgetcommand pending \
activetimestamp pendingtimestamp masterkey networkname extpanid \
localprefix delaytimer panid channel \
binary 000102030405060708090a0b0e0f0c333435 \
-x 000102030405060708090a0b0e0f0c333435 \
address $addr\n"
expect "Done"
set spawn_id $spawn_1
send "dataset active binary\n"
expect "dataset active binary"
send "dataset active -x\n"
expect "dataset active -x"
expect -re {([0-9a-f]+)}
set binary $expect_out(1,string)
expect "Done"
send "dataset set pending $binary\n"
expect "Done"
send "dataset pending binary\n"
send "dataset pending -x\n"
expect $binary
expect "Done"
send "dataset set active $binary\n"