]> sigrok.org Git - sigrok-cli.git/commit
don't accept numbers as probe indexes in probe string
authorBert Vermeulen <redacted>
Sun, 14 Oct 2012 12:53:30 +0000 (14:53 +0200)
committerBert Vermeulen <redacted>
Sun, 14 Oct 2012 12:53:30 +0000 (14:53 +0200)
commit497f5362fe63dc5674ab7146384c9efab35d9e5e
tree24d80eb8aa634741d32b7d5726710ecc4a9a10da
parent31dde8ac6785e9bd36a11abed970380b912c3a4c
don't accept numbers as probe indexes in probe string

Unless the driver actually names them by number -- but the comparison
is done by string now.

Syntax for --probes is unchanged; even a range like 0-7 still works,
but only if there really are probes named "0", "1" etc.
parsers.c
sigrok-cli.c
sigrok-cli.h