[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
+2 -2
View File
@@ -1243,7 +1243,7 @@ class Node:
cmd += 'networkname %s ' % self._escape_escapable(network_name)
if binary is not None:
cmd += 'binary %s ' % binary
cmd += '-x %s ' % binary
self.send_command(cmd)
self._expect('Done')
@@ -1524,7 +1524,7 @@ class Node:
self._expect('coaps response', timeout=timeout)
def commissioner_mgmtset(self, tlvs_binary):
cmd = 'commissioner mgmtset binary %s' % tlvs_binary
cmd = 'commissioner mgmtset -x %s' % tlvs_binary
self.send_command(cmd)
self._expect('Done')