mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-21 12:40:42 +00:00
fix command line parsing
This commit is contained in:
parent
a9aa8324cd
commit
e2b9f4ac0f
@ -72,6 +72,7 @@ if len(sys.argv) == 1:
|
|||||||
print 'Converted hci_dump.pklg can be viewed with Wireshark and OS X PacketLogger'
|
print 'Converted hci_dump.pklg can be viewed with Wireshark and OS X PacketLogger'
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
||||||
|
infile = sys.argv[1]
|
||||||
outfile = 'hci_dump.pklg'
|
outfile = 'hci_dump.pklg'
|
||||||
if len(sys.argv) > 2:
|
if len(sys.argv) > 2:
|
||||||
outfile = sys.argv[2]
|
outfile = sys.argv[2]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user